xace: add access_mode argument to selection hook.

This commit is contained in:
Eamon Walsh
2007-03-21 17:01:26 -04:00
committed by Eamon Walsh
parent 4c1fb8069d
commit a3296d111d
3 changed files with 6 additions and 2 deletions

View File

@@ -151,6 +151,7 @@ int XaceHook(int hook, ...)
XaceSelectionAccessRec rec = {
va_arg(ap, ClientPtr),
va_arg(ap, Selection*),
va_arg(ap, Mask),
TRUE /* default allow */
};
calldata = &rec;