Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        events.c ewins.c 


Log Message:
Move move/resize event handling to more appropriate location.

===================================================================
RCS file: /cvs/e/e16/e/src/events.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -3 -r1.127 -r1.128
--- events.c    29 Oct 2006 15:21:15 -0000      1.127
+++ events.c    19 Nov 2006 20:43:28 -0000      1.128
@@ -273,8 +273,6 @@
        Mode.events.py = Mode.events.y;
        ModeGetXY(ev->xmotion.root, ev->xmotion.x_root, ev->xmotion.y_root);
        Mode.events.on_screen = ev->xmotion.same_screen;
-
-       ActionsHandleMotion();
        break;
 
      case EnterNotify:
@@ -334,7 +332,6 @@
        break;
      case ButtonRelease:       /*  5 */
        SoundPlay("SOUND_BUTTON_RAISE");
-       ActionsEnd(NULL);
        break;
      }
 
===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -3 -r1.177 -r1.178
--- ewins.c     3 Nov 2006 23:44:32 -0000       1.177
+++ ewins.c     19 Nov 2006 20:43:28 -0000      1.178
@@ -2163,6 +2163,13 @@
 
    switch (ev->type)
      {
+     case ButtonRelease:
+       ActionsEnd(NULL);
+       break;
+     case MotionNotify:
+       ActionsHandleMotion();
+       break;
+
      case MapRequest:
        EwinEventMapRequest(NULL, ev->xmaprequest.window);
        break;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to