diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-02-29 17:55:31 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-02-29 18:01:37 -0500 |
commit | cc76ea6e3ac6a405f0c198c4e62be40aa8d2b546 (patch) | |
tree | 54acaee702799d6911ca983817038aa792df4a39 /Xext/xace.c | |
parent | 34bf308a9e66f1a2f48630a15b1802afad50ec24 (diff) |
XACE: Add generic support for property and selection polyinstantiation.
Diffstat (limited to 'Xext/xace.c')
-rw-r--r-- | Xext/xace.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Xext/xace.c b/Xext/xace.c index e88debc5f..8a8f8c61d 100644 --- a/Xext/xace.c +++ b/Xext/xace.c @@ -56,16 +56,17 @@ int XaceHookDispatch(ClientPtr client, int major) } int XaceHookPropertyAccess(ClientPtr client, WindowPtr pWin, - PropertyPtr pProp, Mask access_mode) + PropertyPtr *ppProp, Mask access_mode) { - XacePropertyAccessRec rec = { client, pWin, pProp, access_mode, Success }; + XacePropertyAccessRec rec = { client, pWin, ppProp, access_mode, Success }; CallCallbacks(&XaceHooks[XACE_PROPERTY_ACCESS], &rec); return rec.status; } -int XaceHookSelectionAccess(ClientPtr client, Atom name, Mask access_mode) +int XaceHookSelectionAccess(ClientPtr client, + Selection **ppSel, Mask access_mode) { - XaceSelectionAccessRec rec = { client, name, access_mode, Success }; + XaceSelectionAccessRec rec = { client, ppSel, access_mode, Success }; CallCallbacks(&XaceHooks[XACE_SELECTION_ACCESS], &rec); return rec.status; } |