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:
parent
bc7883927e
commit
b6fe0c8ff6
|
@ -371,6 +371,9 @@ _e_randr_config_restore(void)
|
||||||
int ncrtcs = 0;
|
int ncrtcs = 0;
|
||||||
int sw = 0, sh = 0, cw = 0, ch = 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");
|
printf("E_RANDR CONFIG RESTORE\n");
|
||||||
|
|
||||||
/* grab the X server so that we can apply settings without triggering
|
/* grab the X server so that we can apply settings without triggering
|
||||||
|
|
Loading…
Reference in New Issue