From 686ff23a54e39b0738c978e147c05b2c685fcfda Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 19 Feb 2013 11:00:09 +0000 Subject: [PATCH] Add some comments. Signed-off-by: Christopher Michael SVN revision: 84219 --- 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 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,