forked from enlightenment/enlightenment
use 2/3 screen size for wl output (nested) compositor size
1/4 screen size is a compositor for ants
This commit is contained in:
parent
f8a0cbd534
commit
262b303984
|
@ -21,7 +21,7 @@ _cb_sync_done(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
|||
ecore_evas_screen_geometry_get(e_comp->ee, NULL, NULL, &w, &h);
|
||||
if ((w < 1) || (h < 1)) return ECORE_CALLBACK_PASS_ON;
|
||||
|
||||
e_comp_canvas_resize(w / 4, h / 4);
|
||||
e_comp_canvas_resize(w * 2 / 3, h * 2 / 3);
|
||||
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue