On 2024-07-10, Steven J Abner <pheonix....@att.net> wrote: > So created the event loop but in the handling of events I came upon an > oddity. I wrote xcb, no response, so assume this is a bug because of > response. > The event sequence for button 2 mouse press: > window 83886080, LEAVE_NOTIFY (623,112) > window 83886080, ENTER_NOTIFY (623,112) > window 83886080, BUTTON_PRESS Button 2 modifier 0 (623,112)
You haven't given anything like enough information. However, what I suspect this means is that some other client, such as a window manager, has a passive grab on the button, so when you pressed the button, the other client grabbed it (causing a LeaveNotify to your client), and then released the grab (causing the EnterNotify) and passed the ButtonPress on to your client.