Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        config.c 


Log Message:
That should fixup the menu hiding bugs
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/config.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- config.c    29 May 2004 17:53:23 -0000      1.25
+++ config.c    11 Jun 2004 14:46:18 -0000      1.26
@@ -145,9 +145,10 @@
   int             x, y;
 
   evas_pointer_output_xy_get(evas, &x, &y);
-  if (x < menu_x || x > (menu_x + menu_width) ||
-      y < menu_y || y > (menu_y + menu_height))
+  if (x <= menu_x + 1 || x >= (menu_x + menu_width) ||
+      y <= menu_y + 1 || y >= (menu_y + menu_height))
     od_config_menu_hide();
+
 }
 
 void
@@ -228,7 +229,7 @@
 void
 od_config_menu_draw(Evas_Coord x, Evas_Coord y)
 {
-  int             menu_off_x, menu_off_y;
+  Evas_Coord      menu_off_x, menu_off_y;
 
   menu_off_x = 5;
   menu_off_y = 5;




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to