forked from enlightenment/enlightenment
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:
parent
bc99da4a26
commit
310c60449d
|
@ -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 */
|
/* get the geometry of this crtc and record it */
|
||||||
ecore_x_randr_crtc_geometry_get(root, crtc,
|
ecore_x_randr_crtc_geometry_get(root, crtc,
|
||||||
&sd->cx, &sd->cy, &sd->cw, &sd->ch);
|
&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
|
void
|
||||||
|
|
Loading…
Reference in New Issue