Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/engines/ecore_evas_x11


Modified Files:
        ecore_evas_x11.c 


Log Message:
* Do not feed "mouse up" events when a popup window is popped-up. If 
fixes problems when a popup window appears if the mouse pointer is above 
a button


===================================================================
RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_evas_x11/ecore_evas_x11.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ecore_evas_x11.c    9 Dec 2006 09:56:32 -0000       1.21
+++ ecore_evas_x11.c    30 Dec 2006 22:11:49 -0000      1.22
@@ -494,7 +494,8 @@
       int mx, my;
       
       /* Release all the buttons of the mouse */
-      ecore_x_pointer_last_xy_get(&mx, &my);
+      /* TODO: I commented this out because it causes some problems... */
+      /*ecore_x_pointer_last_xy_get(&mx, &my);
       if ((win = ecore_x_window_at_xy_get(mx, my)) != 0)
       {
          int i;
@@ -502,7 +503,7 @@
          ecore_x_pointer_xy_get(win, &mx, &my);
          for (i = 1; i <= 32; i++)
             ecore_x_mouse_up_send(win, mx, my, i);
-      }
+      }*/
       
       /* Create the input window */
       root = engine_data->x_window;



-------------------------------------------------------------------------
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