match wl_wl output sizing in wl_x11 when running in an existing wm session

global sizing policy++
This commit is contained in:
Mike Blumenkrantz 2016-07-12 12:49:47 -04:00
parent c6ef590e9e
commit 4773dd7039
1 changed files with 2 additions and 0 deletions

View File

@ -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);