devilhorns pushed a commit to branch master.
commit 57a3a629814d1e54cfc8522bf63beb1292e7b1fa
Author: Chris Michael <[email protected]>
Date: Mon Aug 5 08:57:57 2013 +0100
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]>
---
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 bf4b5db..3e1fa19 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -811,7 +811,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 your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk