diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h index a5132f1e8..32b7885c8 100644 --- a/src/bin/e_comp_wl.h +++ b/src/bin/e_comp_wl.h @@ -285,6 +285,7 @@ struct _E_Comp_Wl_Output unsigned int refresh; unsigned int subpixel; unsigned int transform; + double scale; }; EAPI Eina_Bool e_comp_wl_init(void); diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c index eb9151b38..c50878421 100644 --- a/src/bin/e_hints.c +++ b/src/bin/e_hints.c @@ -1,3 +1,4 @@ +#define E_COMP_WL #include "e.h" #ifndef HAVE_WAYLAND_ONLY @@ -1664,6 +1665,12 @@ EAPI void e_hints_scale_update(void) { #ifdef HAVE_WAYLAND_ONLY + Eina_List *l; + E_Comp_Wl_Output *output; + + EINA_LIST_FOREACH(e_comp->wl_comp_data->outputs, l, output) + output->scale = e_scale; + #else unsigned int scale = e_scale * 1000;