don't crash in randr module when using fake xinerama screens

This commit is contained in:
Mike Blumenkrantz 2017-06-30 10:25:24 -04:00
parent 53a4d264ed
commit d4f74e24d9
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ _cb_randr(void *data EINA_UNUSED, int type EINA_UNUSED, void *info EINA_UNUSED)
Eina_List *l;
E_Randr2_Screen *s;
if (!e_randr2) return ECORE_CALLBACK_RENEW;
EINA_LIST_FOREACH(e_randr2->screens, l, s)
{
if (!s->config.configured)