summaryrefslogtreecommitdiff
path: root/Xext/xace.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-03-22 13:06:50 -0400
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-03-22 14:07:01 -0400
commit1b58304ac837735920747ed0f0d10ba331bdaeb7 (patch)
tree8627267aaf8acc315520292f4fdf88a2eb6ab700 /Xext/xace.c
parent5486be4898766205149fadce71529724eb78fbf3 (diff)
xace: add new argument to property hook for property structure itself.
Diffstat (limited to 'Xext/xace.c')
-rw-r--r--Xext/xace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xext/xace.c b/Xext/xace.c
index 9502b5da9..8e277ac81 100644
--- a/Xext/xace.c
+++ b/Xext/xace.c
@@ -22,9 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#include <stdarg.h>
-#include "windowstr.h"
#include "scrnintstr.h"
-#include "gcstruct.h"
#include "xacestr.h"
#include "modinit.h"
@@ -97,6 +95,7 @@ int XaceHook(int hook, ...)
XacePropertyAccessRec rec = {
va_arg(ap, ClientPtr),
va_arg(ap, WindowPtr),
+ va_arg(ap, PropertyPtr),
va_arg(ap, Atom),
va_arg(ap, Mask),
XaceAllowOperation /* default allow */