[PATCH 2/7] dix: remove unused EnterLeaveSemaphoresIsset.
peter.hutterer at who-t.net
peter.hutterer at who-t.net
Fri Nov 14 02:51:11 PST 2008
From: Peter Hutterer <peter.hutterer at redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer at redhat.com>
---
dix/events.c | 15 ---------------
include/input.h | 1 -
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/dix/events.c b/dix/events.c
index 1ac45e3..eff7eeb 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -6151,21 +6151,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
diff --git a/include/input.h b/include/input.h
index a41affd..5377d23 100644
--- a/include/input.h
+++ b/include/input.h
@@ -512,7 +512,6 @@ extern int AllocMasterDevice(ClientPtr client,
extern void DeepCopyDeviceClasses(DeviceIntPtr from,
DeviceIntPtr to);
-extern int EnterLeaveSemaphoresIsset(WindowPtr win);
extern int FocusSemaphoresIsset(WindowPtr win);
/* Implemented by the DDX. */
--
1.6.0.3
More information about the xorg
mailing list