princeamd pushed a commit to branch enlightenment-0.17.
commit d96738b2ed37fa7c123c26ca0a1fd383d113b814
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 11:00:09 2013 +0000
Backport: 686ff23 :: Add some comments.
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84219
Signed-off-by: Deon Thomas <[email protected]>
---
src/modules/conf_randr/e_smart_monitor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/modules/conf_randr/e_smart_monitor.c
b/src/modules/conf_randr/e_smart_monitor.c
index 53f33c2..1a495bb 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -704,6 +704,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
}
}
+ /* record current values */
mode = sd->current.mode;
cx = sd->current.x;
cy = sd->current.y;
@@ -711,6 +712,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
ch = sd->current.h;
orient = sd->current.orient;
+ /* if we are cloned, we need to use the parent values */
if ((sd->cloned) && (sd->parent))
{
E_Smart_Data *psd;
@@ -726,6 +728,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
}
}
+ /* apply the settings */
if (!sd->current.enabled)
ecore_x_randr_crtc_settings_set(root, sd->crtc.id, NULL,
0, 0, 0, 0,
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev