Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src/module


Modified Files:
        e_mod_main.c 


Log Message:
Fix up some event layer stuff
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- e_mod_main.c        11 Jun 2005 23:57:16 -0000      1.53
+++ e_mod_main.c        12 Jun 2005 12:16:23 -0000      1.54
@@ -2025,7 +2025,6 @@
 {
    Evas_Event_Mouse_Out *ev;
    Engage_Bar *eb;
-   Evas_Coord x, y, w, h;
 
    ev = event_info;
    eb = data;
@@ -2069,7 +2068,7 @@
 static int
 _engage_zoom_out_slave(void *data)
 {
-   Evas_Coord x, y;
+   Evas_Coord x, y, bx, by, bw, bh;
    static double start_time = 0;
    Engage_Bar *eb;
 
@@ -2087,8 +2086,12 @@
        eb->zoom = 1.0;
        _engage_zoom_timer = NULL;
        start_time = 0;
-       _engage_bar_motion_handle(eb, x, y);
+       evas_object_geometry_get(eb->box_object, &bx, &by, &bw, &bh);
+       evas_object_move(eb->event_object, bx, by);
+       evas_object_resize(eb->event_object, bw, bh);
+
        eb->zooming = 0;
+       _engage_bar_motion_handle(eb, x, y);
        return 0;
      }
    _engage_bar_motion_handle(eb, x, y);




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to