princeamd pushed a commit to branch enlightenment-0.17.

commit 39ab375a647fad2c1916245ea75725dd657b8ff1
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:58:54 2013 +0000

    Backport: f487724 :: Fix move_stop to use current geometry.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84194
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_smart_monitor.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/conf_randr/e_smart_monitor.c 
b/src/modules/conf_randr/e_smart_monitor.c
index ebf4cb8..93c4c08 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -1102,16 +1102,16 @@ _e_smart_monitor_thumb_cb_mouse_up(void *data, Evas 
*evas EINA_UNUSED, Evas_Obje
 
    /* take current object position, translate to virtual */
    _e_smart_monitor_coord_canvas_to_virtual(sd, sd->x, sd->y, 
-                                            &sd->crtc.x, &sd->crtc.y);
+                                            &sd->current.x, &sd->current.y);
 
    /* TODO: "Normalize" this new position. ie: 1076y should be 1080y */
 
    /* repack into the grid with updated position */
-   evas_object_grid_pack(sd->grid.obj, mon, sd->crtc.x, sd->crtc.y, 
-                         sd->crtc.w, sd->crtc.h);
+   evas_object_grid_pack(sd->grid.obj, mon, sd->current.x, sd->current.y, 
+                         sd->current.w, sd->current.h);
 
    /* set monitor position text */
-   _e_smart_monitor_position_set(sd, sd->crtc.x, sd->crtc.y);
+   _e_smart_monitor_position_set(sd, sd->current.x, sd->current.y);
 }
 
 static void 

-- 

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

Build for Windows Store.

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

Reply via email to