dix: remove unused EnterLeaveSemaphoresIsset.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
868fd503b7
commit
5e48f5e2dd
15
dix/events.c
15
dix/events.c
|
@ -6148,21 +6148,6 @@ ExtGrabDevice(ClientPtr client,
|
||||||
return GrabSuccess;
|
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.
|
* @return Zero if no devices has focus on the window, non-zero otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -512,7 +512,6 @@ extern int AllocMasterDevice(ClientPtr client,
|
||||||
extern void DeepCopyDeviceClasses(DeviceIntPtr from,
|
extern void DeepCopyDeviceClasses(DeviceIntPtr from,
|
||||||
DeviceIntPtr to);
|
DeviceIntPtr to);
|
||||||
|
|
||||||
extern int EnterLeaveSemaphoresIsset(WindowPtr win);
|
|
||||||
extern int FocusSemaphoresIsset(WindowPtr win);
|
extern int FocusSemaphoresIsset(WindowPtr win);
|
||||||
|
|
||||||
/* Implemented by the DDX. */
|
/* Implemented by the DDX. */
|
||||||
|
|
Loading…
Reference in New Issue