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:
Peter Hutterer 2007-03-08 22:16:17 +10:30
commit b3b2a6a0d4
3 changed files with 62 additions and 1 deletions

View file

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