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);
|
xroot = meta_screen_get_xroot (screen);
|
||||||
|
|
||||||
output = XCompositeGetOverlayWindow (xdisplay, xroot);
|
output = XCompositeGetOverlayWindow (xdisplay, xroot);
|
||||||
XSelectInput (xdisplay, output, ExposureMask);
|
XSelectInput (xdisplay, output,
|
||||||
|
FocusChangeMask |
|
||||||
|
ExposureMask |
|
||||||
|
PointerMotionMask |
|
||||||
|
KeyPressMask |
|
||||||
|
KeyReleaseMask |
|
||||||
|
ButtonPressMask |
|
||||||
|
ButtonReleaseMask);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user