mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
Fixed input mask on overlay window to get pointer and key events.
This commit is contained in:
parent
d94a34a2c1
commit
6323467879
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user