princeamd pushed a commit to branch enlightenment-0.17.

commit 7d190c49185f6e47f3ffb79f53e2662a687ddf84
Author: Chris Michael <[email protected]>
Date:   Mon Aug 5 08:57:57 2013 +0100

    Backport: 57a3a62 :: When we try to re-enable a monitor, check the Crtc 
Mode (not the smart object Current mode) to determine if it is already disabled.
    
    Signed-off-by: Chris Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_smart_monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index e037360..76d0e1a 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -795,7 +795,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
      }
 
    /* if this monitor gets re-enabled, we need to set a mode */
-   if ((sd->current.enabled) && (!sd->current.mode))
+   if ((sd->current.enabled) && (!sd->crtc.mode))
      {
         Ecore_X_Randr_Mode_Info *info;
 

-- 

------------------------------------------------------------------------------
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