mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user