dix: Only check device events for possible ACLs.

We shouldn't be able to restrict events like Expose, etc. with device based
ACLs. So we just ignore all non-input events when checking for permissions.
This commit is contained in:
Peter Hutterer
2007-08-23 18:02:10 +09:30
parent 2c1431a76e
commit 88a9828ef9
3 changed files with 36 additions and 6 deletions

View File

@@ -495,7 +495,8 @@ extern void ACQueryWindowAccess(WindowPtr win,
int* ndeny);
extern Bool ACDeviceAllowed(WindowPtr win,
DeviceIntPtr dev);
DeviceIntPtr dev,
xEvent* xE);
/* Implemented by the DDX. */
extern int NewInputDeviceRequest(