diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-08 21:39:20 +1030 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-10-31 16:32:18 +1030 |
commit | 90a86701e3b9feafa05f44649a8314f06285fab5 (patch) | |
tree | 56d567545af0979914600a5d59f8dacde6f31d76 /XI.h | |
parent | 36c8a6f3faf56a8f8ca31455812c9132b379b1b3 (diff) |
Remove window access protocol requests.
This is a bad idea. It didn't provide security and you can get the same
functionality as you did with normal event registration.
Diffstat (limited to 'XI.h')
-rw-r--r-- | XI.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -117,9 +117,6 @@ SOFTWARE. #define sz_xWarpDevicePointerReq 28 #define sz_xChangeDeviceCursorReq 16 #define sz_xChangeDeviceHierarchyReq 8 -#define sz_xChangeWindowAccessReq 12 -#define sz_xQueryWindowAccessReq 8 -#define sz_xQueryWindowAccessReply 32 #define sz_xSetClientPointerReq 12 #define sz_xGetClientPointerReq 8 #define sz_xGetClientPointerReply 32 @@ -280,20 +277,6 @@ SOFTWARE. #define _deviceEnter 0 #define _deviceLeave 1 -/* Flags for ChangeWindowAccess defaultRule. Pick one. */ -#define WindowAccessNoRule 0 -#define WindowAccessKeepRule 1 -#define WindowAccessDenyAll 2 -#define WindowAccessAllowAll 3 - -/* Flags for ChangeWindowAccess. */ -#define WindowAccessClearNone 0 -#define WindowAccessClearPerm (1) -#define WindowAccessClearDeny (1 << 1) -#define WindowAccessClearRule (1 << 2) -#define WindowAccessClearAll \ - WindowAccessClearPerm | WindowAccessClearDeny | WindowAccessClearRule - /* Device presence notify states */ #define DeviceAdded 0 #define DeviceRemoved 1 |