From 6323467879eb8a73d79352cb1cfa3323d47ce467 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Thu, 16 Oct 2008 10:41:34 +0100 Subject: [PATCH] Fixed input mask on overlay window to get pointer and key events. --- src/compositor/clutter/compositor-clutter.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/compositor/clutter/compositor-clutter.c b/src/compositor/clutter/compositor-clutter.c index 3f83a695b..3ee6c73ff 100644 --- a/src/compositor/clutter/compositor-clutter.c +++ b/src/compositor/clutter/compositor-clutter.c @@ -1668,7 +1668,14 @@ get_output_window (MetaScreen *screen) xroot = meta_screen_get_xroot (screen); output = XCompositeGetOverlayWindow (xdisplay, xroot); - XSelectInput (xdisplay, output, ExposureMask); + XSelectInput (xdisplay, output, + FocusChangeMask | + ExposureMask | + PointerMotionMask | + KeyPressMask | + KeyReleaseMask | + ButtonPressMask | + ButtonReleaseMask); return output; }