princeamd pushed a commit to branch enlightenment-0.17.

commit 310c60449d36b690c1189ac889dafb24c35e2a10
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:57:09 2013 +0000

    Backport: 54a0fa1 :: When we set the crtc of the monitor, we can update 
position and resolution text.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84158
    Signed-off-by: Deon Thomas <[email protected]>
---
 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 3372398..d54b0c4 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 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to