aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-02-19 11:00:09 +0000
committerChristopher Michael <cpmichael1@comcast.net>2013-02-19 11:00:09 +0000
commit686ff23a54e39b0738c978e147c05b2c685fcfda (patch)
tree1f1cebf3b7902d61ce78d93b75d0f16e9c489966 /src
parentf52d507845de81c3622e2c9b38ae30ccdee50796 (diff)
downloadenlightenment-686ff23a54e39b0738c978e147c05b2c685fcfda.tar.gz
enlightenment-686ff23a54e39b0738c978e147c05b2c685fcfda.tar.xz
enlightenment-686ff23a54e39b0738c978e147c05b2c685fcfda.zip
Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 84219
Diffstat (limited to 'src')
-rw-r--r--src/modules/conf_randr/e_smart_monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c
index 53f33c233..1a495bbfc 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,