forked from enlightenment/enlightenment
Tiling2: Handle compositor resize hook.
This commit is contained in:
parent
32c4da7f5e
commit
86aa218cb2
|
@ -1060,10 +1060,20 @@ _desk_set_hook(void *data __UNUSED__, int type __UNUSED__, E_Event_Client_Desk_S
|
|||
return true;
|
||||
}
|
||||
|
||||
static void
|
||||
_compositor_resize_hook_desk_reapply(E_Desk *desk)
|
||||
{
|
||||
check_tinfo(desk);
|
||||
if (!desk_should_tile_check(desk))
|
||||
return;
|
||||
|
||||
_reapply_tree();
|
||||
}
|
||||
|
||||
static bool
|
||||
_compositor_resize_hook(void *data __UNUSED__, int type __UNUSED__, E_Event_Compositor_Resize *ev EINA_UNUSED)
|
||||
{
|
||||
// FIXME
|
||||
_foreach_desk(_compositor_resize_hook_desk_reapply);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue