Don't do randr restore if we have fake screens. (requested by release

master) ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-05 08:08:33 +01:00
parent bc7883927e
commit b6fe0c8ff6
1 changed files with 3 additions and 0 deletions

View File

@ -371,6 +371,9 @@ _e_randr_config_restore(void)
int ncrtcs = 0;
int sw = 0, sh = 0, cw = 0, ch = 0;
/* don't try to restore if we have fake screens */
if (e_xinerama_fake_screens_exist()) return;
printf("E_RANDR CONFIG RESTORE\n");
/* grab the X server so that we can apply settings without triggering