devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=88f44e1a1d440ab8a5bb93dbf8fabca9ce810fdf

commit 88f44e1a1d440ab8a5bb93dbf8fabca9ce810fdf
Author: Chris Michael <[email protected]>
Date:   Wed Feb 25 13:13:10 2015 -0500

    adjust wayland compositor scale when we adjust e_scale
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.h | 1 +
 src/bin/e_hints.c   | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index a5132f1..32b7885 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 eb9151b..c508784 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;
 

-- 


Reply via email to