summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-07-12 12:49:47 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-07-12 12:51:00 -0400
commit4773dd703980ef18757e5351678ac293c049d5c7 (patch)
tree35ccc796534fc1387794a576944b70ce37ace7b0
parentc6ef590e9e726b2c83e918c3411c3ec9ecfdc3dc (diff)
downloadenlightenment-4773dd703980ef18757e5351678ac293c049d5c7.tar.gz
match wl_wl output sizing in wl_x11 when running in an existing wm session
global sizing policy++
-rw-r--r--src/modules/wl_x11/e_mod_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/wl_x11/e_mod_main.c b/src/modules/wl_x11/e_mod_main.c
index a0332e05f2..d4caec8c10 100644
--- a/src/modules/wl_x11/e_mod_main.c
+++ b/src/modules/wl_x11/e_mod_main.c
@@ -43,6 +43,8 @@ e_modapi_init(E_Module *m)
if (!managed)
e_comp_x_randr_screen_iface_set();
if (!e_comp_wl_init()) return NULL;
+ if (managed)
+ w = w * 2 / 3, h = h * 2 / 3;
if (!e_comp_canvas_init(w, h)) return NULL;
e_comp_wl_input_pointer_enabled_set(EINA_TRUE);