Backport: 54a0fa1 :: When we set the crtc of the monitor, we can update position and resolution text.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84158
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
Christopher Michael 2013-02-19 10:57:09 +00:00 committed by Deon Thomas
parent bc99da4a26
commit 310c60449d
1 changed files with 6 additions and 0 deletions

View File

@ -123,6 +123,12 @@ e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc)
/* get the geometry of this crtc and record it */
ecore_x_randr_crtc_geometry_get(root, crtc,
&sd->cx, &sd->cy, &sd->cw, &sd->ch);
/* set monitor position text */
_e_smart_monitor_position_set(sd, sd->cx, sd->cy);
/* set monitor resolution text */
_e_smart_monitor_resolution_set(sd, sd->cw, sd->ch);
}
void