diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-02-22 20:00:59 +1030 |
---|---|---|
committer | Peter Hutterer <whot@hyena.localdomain> | 2007-02-22 20:00:59 +1030 |
commit | 4b8b0e377a27ec904b2028c89aed11c6416af26c (patch) | |
tree | 827ee3390c331ba8f7421f051e5a8301adec07ab /include/windowstr.h | |
parent | cd0af7a7856e8246e27acc5513d219a094211625 (diff) |
Xi: Add access control request handling.
dix: New file access.c to handle all access control for devices.
Diffstat (limited to 'include/windowstr.h')
-rw-r--r-- | include/windowstr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/windowstr.h b/include/windowstr.h index 4e9c82cb5..882f8a524 100644 --- a/include/windowstr.h +++ b/include/windowstr.h @@ -77,6 +77,14 @@ typedef struct _DevCursorNode { struct _DevCursorNode* next; } DevCursNodeRec, *DevCursNodePtr, *DevCursorList; +typedef struct _WindowAccessRec { + int defaultRule; /* WindowAccessDenyAll */ + DeviceIntPtr* perm; + int nperm; + DeviceIntPtr* deny; + int ndeny; +} WindowAccessRec, *WindowAccessPtr; + typedef struct _WindowOpt { VisualID visual; /* default: same as parent */ CursorPtr cursor; /* default: window.cursorNone */ @@ -97,6 +105,7 @@ typedef struct _WindowOpt { struct _OtherInputMasks *inputMasks; /* default: NULL */ #endif DevCursorList deviceCursors; /* default: NULL */ + WindowAccessRec access; } WindowOptRec, *WindowOptPtr; #define BackgroundPixel 2L |