When we set the crtc of the monitor, we can update position and
authorChristopher Michael <cp.michael@samsung.com>
Tue, 19 Feb 2013 10:57:09 +0000 (10:57 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 19 Feb 2013 10:57:09 +0000 (10:57 +0000)
resolution text.

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

src/modules/conf_randr/e_smart_monitor.c

index 3372398..d54b0c4 100644 (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