My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 19: GLX Surface's subwindow is causing extra Enter/LeaveNotify events (MouseOverEvents)
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  maililistaalterego
Closed:  Jul 16
Type-Defect
Priority-Medium
OpSys-Linux
Milestone-Release0.1


Sign in to add a comment
 
Reported by maililistaalterego, Jul 16, 2009
What steps will reproduce the problem?
1. Click the window client area
2. MouseOverEvents are reported in addition to the button event
3. Adding EnterWindowMask | EnterWindowMask to GLX Surface's subwindow's
Xlib event mask shows EnterNotify and LeaveNotify to the subwindow
4. Commenting XMapWindow from the Surface constructor gets rid of the extra
Enter/LeaveNotify events

What is the expected output? What do you see instead?
Expected output:
ButtonEvent(x = 138, y = 147, button = Left, state = Down, buttons = None ,
keymod = None )
ButtonEvent(x = 138, y = 147, button = Left, state = Up, buttons = Left ,
keymod = None )


MouseOverEvent(x = 195, y = 167, inside = Inside)
MouseOverEvent(x = 195, y = 167, inside = Outside)
ButtonEvent(x = 195, y = 167, button = Left, state = Down, buttons = None ,
keymod = None )
MouseOverEvent(x = 195, y = 167, inside = Inside)
ButtonEvent(x = 195, y = 167, button = Left, state = Up, buttons = Left ,
keymod = None )
MouseOverEvent(x = 195, y = 167, inside = Outside)

Mercurial revision: be3c3cf162ef
Comment 1 by maililistaalterego, Jul 16, 2009
Removed GLX Surface subwindow altogether when rewriting Configuration, Context,
Surface and Window initialization.
Status: Fixed
Sign in to add a comment

Hosted by Google Code