summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-12-04 17:08:56 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-12-04 17:08:56 +1030
commit0931f40bf1bd6e00b8d95968d761a495b2c9a46c (patch)
tree928432b8ab1e290fc436f7d7d1ae3db88a41c1bd /dix/events.c
parent09c0c1a3cc4807813774a3c0e28a7ba9a87bb5c7 (diff)
dix: comments, whitespaces, copyright fixes.
Removing my copyright message for now, should eventually be in line with the rest of the messages.
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/dix/events.c b/dix/events.c
index 5242f4308..21b0eeea3 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -107,12 +107,6 @@ of the copyright holder.
******************************************************************/
-/*
- * MPX additions
- * Copyright 2006 by Peter Hutterer
- * Author: Peter Hutterer <peter@cs.unisa.edu.au>
- */
-
/** @file
* This file handles event delivery and a big part of the server-side protocol
* handling (the parts for input devices).
@@ -5022,6 +5016,12 @@ ProcGrabPointer(ClientPtr client)
}
grab = device->deviceGrab.grab;
+ /* check for
+ 1. other client has a grab on the device already.
+ 2. window is viewable
+ 3. other client has this device as frozen "other" device
+ 4. times are screwed.
+ */
if ((grab) && !SameClient(grab, client))
rep.status = AlreadyGrabbed;
else if ((!pWin->realized) ||