From 9883f6e6790e4f9cd9508155268dd8418a38fd40 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sun, 3 May 2009 18:21:41 -0400 Subject: [PATCH] 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 --- src/compositor/mutter/compositor-mutter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor/mutter/compositor-mutter.c b/src/compositor/mutter/compositor-mutter.c index 1320994af..cb7e48c0a 100644 --- a/src/compositor/mutter/compositor-mutter.c +++ b/src/compositor/mutter/compositor-mutter.c @@ -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 |