Select for crossing events on stage and overlay

If the input region has been shaped, then clutter needs to
receive EnterNotify/LeaveNotify events in order to properly
send enter and leave events to actors when the pointer crosses
the boundary of the stage.

http://bugzilla.gnome.org/show_bug.cgi?id=578250
This commit is contained in:
Owen W. Taylor 2009-05-03 18:21:41 -04:00
parent ea91834407
commit 9883f6e679

View File

@ -1767,6 +1767,7 @@ get_output_window (MetaScreen *screen)
event_mask = FocusChangeMask |
ExposureMask |
EnterWindowMask | LeaveWindowMask |
PointerMotionMask |
PropertyChangeMask |
ButtonPressMask | ButtonReleaseMask |
@ -1919,6 +1920,7 @@ clutter_cmp_manage_screen (MetaCompositor *compositor,
event_mask = FocusChangeMask |
ExposureMask |
EnterWindowMask | LeaveWindowMask |
PointerMotionMask |
PropertyChangeMask |
ButtonPressMask | ButtonReleaseMask |