summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-14 15:41:59 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-25 09:21:45 +1000
commit5e48f5e2dd2dec7cfd1fa40b61e25123dfca515e (patch)
tree6fcca89903ff8568242e2ca015a10747de4449e0 /dix
parent868fd503b7aeab31dba72046b59061008d8b7501 (diff)
dix: remove unused EnterLeaveSemaphoresIsset.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/events.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/dix/events.c b/dix/events.c
index 77ca3d2c5..0f63ca3be 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -6149,21 +6149,6 @@ ExtGrabDevice(ClientPtr client,
}
/*
- * @return Zero if no device is currently in window, non-zero otherwise.
- */
-int
-EnterLeaveSemaphoresIsset(WindowPtr win)
-{
- int set = 0;
- int i;
-
- for (i = 0; i < (MAXDEVICES + 7)/8; i++)
- set += win->enterleave[i];
-
- return set;
-}
-
-/*
* @return Zero if no devices has focus on the window, non-zero otherwise.
*/
int