princeamd pushed a commit to branch enlightenment-0.17.

commit 0d8389294909a571378d7d96541320fde55a1efa
Author: Chris Michael <[email protected]>
Date:   Mon Aug 5 08:08:33 2013 +0100

    Backport: b6fe0c8 :: Don't do randr restore if we have fake screens. 
(requested by release master) ;)
    
    Signed-off-by: Chris Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/bin/e_randr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index 0386a50..2812c6d 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -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 

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to