Fixed input mask on overlay window to get pointer and key events.

This commit is contained in:
Tomas Frydrych 2008-10-16 10:41:34 +01:00
parent d94a34a2c1
commit 6323467879

View File

@ -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;
}