On Mon, 12 Jul 2004 22:08:18 +0200 Tilman Sauerbeck <[EMAIL PROTECTED]> babbled: > Tilman Sauerbeck <[EMAIL PROTECTED]> [2004-07-11 18:05]: > > when you register an event handler for ECORE_X_MOUSE_IN/OUT for a > > specific window, your callbacks will also be called if a > > EnterNotify/LeaveNotify event occured in a subwindow/child of the window > > you registered a callback on. > > Looks like we solved this one ;) > > I'm experiencing another problem with OpenBox; whenever I click in an > ecore_evas window, it's generating a pair of EnterNotify and LeaveNotify > events o_O hmm interesting - it must maintain a passive grab on the mouse button (regardless of modifiers) ALL the time and alway filter itself, allowing the event on (not overly efficient as now it delays the mouse down event to an app by another context switch to and from wm then back to x and back to app again for every click...) i guess it dows allow fo dynamic grabbing changes (based on modifier etc.) without re-grabbing the buttons u want... anyway - i see wher u come form. i'd say this si where ecore_evas kicks in and we can "ignore" enter and leave events when they are the result of a grab > I don't want to tell you what I tried to fix the bug (?), it's a long > story ;) > > Anyway, this behaviour seems broken to me, do we want to work around it > in ecore_evas? i'd say so. > The attached patch seems to work well for me, but I don't know whether > it's okay for us to ignore Enter/LeaveNotify if it's coming from a > released/instantiated grab? i think its ok... :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 熊耳 - 車君 (数田) [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
