xace: forgot one of the hook call arguments. Add it.
This commit is contained in:
parent
353e19fd5e
commit
14aea12cad
|
@ -731,7 +731,8 @@ CreateWindow(Window wid, WindowPtr pParent, int x, int y, unsigned w,
|
||||||
|
|
||||||
/* security creation/labeling check
|
/* 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);
|
xfree(pWin);
|
||||||
*error = BadAccess;
|
*error = BadAccess;
|
||||||
|
|
Loading…
Reference in New Issue