Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: desktops.c events.c Log Message: Fix some more undesired root tooltips, additional event debug. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v retrieving revision 1.172 retrieving revision 1.173 diff -u -3 -r1.172 -r1.173 --- desktops.c 21 Aug 2005 21:00:55 -0000 1.172 +++ desktops.c 22 Aug 2005 21:08:58 -0000 1.173 @@ -1384,12 +1384,21 @@ case LeaveNotify: TooltipsSetPending(1, NULL, NULL); break; - case EnterNotify: - if (ev->xcrossing.mode != NotifyNormal || - ev->xcrossing.detail != NotifyInferior) - break; + case ButtonRelease: + if (ev->xbutton.subwindow == None) + goto do_set_pending; + break; case MotionNotify: + if (ev->xmotion.subwindow == None) + goto do_set_pending; + break; + case EnterNotify: + if (ev->xcrossing.mode == NotifyNormal && + ev->xcrossing.detail == NotifyInferior) + goto do_set_pending; + break; + do_set_pending: TooltipsSetPending(1, DeskGetAclass, d); break; } =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/events.c,v retrieving revision 1.99 retrieving revision 1.100 diff -u -3 -r1.99 -r1.100 --- events.c 20 Aug 2005 13:55:50 -0000 1.99 +++ events.c 22 Aug 2005 21:08:58 -0000 1.100 @@ -783,14 +783,18 @@ goto case_common; case ButtonPress: case ButtonRelease: - Eprintf("%#08lx EV-%s win=%#lx state=%#x button=%#x\n", ser, name, win, - ev->xbutton.state, ev->xbutton.button); + Eprintf("%#08lx EV-%s win=%#lx sub=%#lx state=%#x button=%#x\n", ser, + name, win, ev->xbutton.subwindow, ev->xbutton.state, + ev->xbutton.button); break; case MotionNotify: - goto case_common; + Eprintf("%#08lx EV-%s win=%#lx sub=%#lx\n", ser, name, win, + ev->xcrossing.subwindow); + break; case EnterNotify: case LeaveNotify: - Eprintf("%#08lx EV-%s win=%#lx m=%s d=%s\n", ser, name, win, + Eprintf("%#08lx EV-%s win=%#lx sub=%#lx m=%s d=%s\n", ser, name, win, + ev->xcrossing.subwindow, EventNotifyModeName(ev->xcrossing.mode), EventNotifyDetailName(ev->xcrossing.detail)); break; ------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs