summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-02-19 11:00:09 +0000
committerDeon Thomas <PrinceAMD.Elive@gmail.com>2013-06-28 03:28:52 -0400
commitd96738b2ed37fa7c123c26ca0a1fd383d113b814 (patch)
treee6f1ce198acbc377d34b0500db6c824fa3093b80 /src/modules
parentb9da0c55e0d1518aedcf33c0ed929cd66ce10f41 (diff)
downloadenlightenment-d96738b2ed37fa7c123c26ca0a1fd383d113b814.tar.gz
Backport: 686ff23 :: Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 84219 Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
Diffstat (limited to 'src/modules')
-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 53f33c233f..1a495bbfcb 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,