mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
dix: Check if client has a grab on any other device before mouse/kbd
event is delivered to the client. Client's don't cope well with
receiving core events from other devices when having a grab on a
pointer or keyboard.
This commit is contained in:
parent
ceca5670fe
commit
b3b2a6a0d4
3 changed files with 62 additions and 1 deletions
|
|
@ -609,6 +609,11 @@ extern DeviceIntPtr PickPointer(
|
|||
extern DeviceIntPtr PickKeyboard(
|
||||
ClientPtr /* client */);
|
||||
|
||||
extern Bool IsInterferingGrab(
|
||||
ClientPtr /* client */,
|
||||
DeviceIntPtr /* dev */,
|
||||
xEvent* /* events */);
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue