From 14aea12cadef647369e44639ff5024dd7034570a Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Tue, 3 Apr 2007 15:23:56 -0400 Subject: [PATCH] xace: forgot one of the hook call arguments. Add it. --- dix/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dix/window.c b/dix/window.c index 2e852099a..9967053e0 100644 --- a/dix/window.c +++ b/dix/window.c @@ -731,7 +731,8 @@ CreateWindow(Window wid, WindowPtr pParent, int x, int y, unsigned w, /* security creation/labeling check */ - if (!XaceHook(XACE_RESOURCE_ACCESS, wid, RT_WINDOW, DixCreateAccess, pWin)) + if (!XaceHook(XACE_RESOURCE_ACCESS, client, + wid, RT_WINDOW, DixCreateAccess, pWin)) { xfree(pWin); *error = BadAccess;