Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
desktops.c
Log Message:
Root tooltip fixup after recent changes.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -3 -r1.169 -r1.170
--- desktops.c 20 Aug 2005 13:55:50 -0000 1.169
+++ desktops.c 20 Aug 2005 19:48:50 -0000 1.170
@@ -1430,16 +1430,19 @@
}
static void
-DesktopHandleTooltip(Desk * d, int event)
+DesktopHandleTooltip(Desk * d, XEvent * ev)
{
- switch (event)
+ switch (ev->type)
{
case ButtonPress:
case LeaveNotify:
TooltipsSetPending(1, NULL, NULL);
break;
- case ButtonRelease:
case EnterNotify:
+ if (ev->xcrossing.mode != NotifyNormal ||
+ ev->xcrossing.detail != NotifyInferior)
+ break;
+ case ButtonRelease:
case MotionNotify:
TooltipsSetPending(1, DeskGetAclass, d);
break;
@@ -1468,7 +1471,7 @@
break;
}
- DesktopHandleTooltip(d, ev->type);
+ DesktopHandleTooltip(d, ev);
}
/* Settings */
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs