dix: remove unused EnterLeaveSemaphoresIsset.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
Peter Hutterer 2008-11-14 15:41:59 +10:00
parent 868fd503b7
commit 5e48f5e2dd
2 changed files with 0 additions and 16 deletions

View File

@ -6148,21 +6148,6 @@ ExtGrabDevice(ClientPtr client,
return GrabSuccess;
}
/*
* @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.
*/

View File

@ -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. */