process screen events in wl when using fake screens

This commit is contained in:
Mike Blumenkrantz 2017-06-30 10:25:24 -04:00
parent 75b473c4ef
commit 5df53cec7b
1 changed files with 1 additions and 2 deletions

View File

@ -1136,8 +1136,6 @@ _e_comp_wl_cb_randr_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *e
const Eina_List *l;
E_Randr2_Screen *screen;
if (!e_randr2) return ECORE_CALLBACK_RENEW;
if (e_xinerama_fake_screens_exist())
{
E_Screen *scr;
@ -1149,6 +1147,7 @@ _e_comp_wl_cb_randr_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *e
}
return ECORE_CALLBACK_RENEW;
}
if (!e_randr2) return ECORE_CALLBACK_RENEW;
EINA_LIST_FOREACH(e_randr2->screens, l, screen)
{
if (!screen->config.enabled)