forked from enlightenment/enlightenment
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>
This commit is contained in:
parent
b9da0c55e0
commit
d96738b2ed
|
@ -704,6 +704,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* record current values */
|
||||||
mode = sd->current.mode;
|
mode = sd->current.mode;
|
||||||
cx = sd->current.x;
|
cx = sd->current.x;
|
||||||
cy = sd->current.y;
|
cy = sd->current.y;
|
||||||
|
@ -711,6 +712,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
|
||||||
ch = sd->current.h;
|
ch = sd->current.h;
|
||||||
orient = sd->current.orient;
|
orient = sd->current.orient;
|
||||||
|
|
||||||
|
/* if we are cloned, we need to use the parent values */
|
||||||
if ((sd->cloned) && (sd->parent))
|
if ((sd->cloned) && (sd->parent))
|
||||||
{
|
{
|
||||||
E_Smart_Data *psd;
|
E_Smart_Data *psd;
|
||||||
|
@ -726,6 +728,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* apply the settings */
|
||||||
if (!sd->current.enabled)
|
if (!sd->current.enabled)
|
||||||
ecore_x_randr_crtc_settings_set(root, sd->crtc.id, NULL,
|
ecore_x_randr_crtc_settings_set(root, sd->crtc.id, NULL,
|
||||||
0, 0, 0, 0,
|
0, 0, 0, 0,
|
||||||
|
|
Loading…
Reference in New Issue