adjust wayland compositor scale when we adjust e_scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
165b6cb694
commit
3fd618ffaa
|
@ -1,3 +1,4 @@
|
||||||
|
#define E_COMP_WL
|
||||||
#include "e.h"
|
#include "e.h"
|
||||||
|
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
#ifndef HAVE_WAYLAND_ONLY
|
||||||
|
@ -1664,6 +1665,7 @@ EAPI void
|
||||||
e_hints_scale_update(void)
|
e_hints_scale_update(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_WAYLAND_ONLY
|
#ifdef HAVE_WAYLAND_ONLY
|
||||||
|
e_comp->wl_comp_data->output.scale = e_scale;
|
||||||
#else
|
#else
|
||||||
unsigned int scale = e_scale * 1000;
|
unsigned int scale = e_scale * 1000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue