From 54a0fa16ae8b402ee642598d659afdfb792ef90b Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 19 Feb 2013 10:57:09 +0000 Subject: [PATCH] When we set the crtc of the monitor, we can update position and resolution text. Signed-off-by: Christopher Michael SVN revision: 84158 --- src/modules/conf_randr/e_smart_monitor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 33723980c..d54b0c407 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -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