mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
ea91834407
commit
9883f6e679
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user