xace: add missing argument to hook call.

This commit is contained in:
Eamon Walsh 2007-09-19 11:11:54 -04:00 committed by Eamon Walsh
parent 963e69b8ef
commit 5b36b64192

View File

@ -2892,7 +2892,7 @@ DeliverGrabbedEvent(xEvent *xE, DeviceIntPtr thisDev,
if (!deliveries)
{
FixUpEventFromWindow(xE, grab->window, None, TRUE);
if (!XaceHook(XACE_SEND_ACCESS, thisDev, grab->window, xE, count) &&
if (!XaceHook(XACE_SEND_ACCESS, 0, thisDev, grab->window, xE, count) &&
!XaceHook(XACE_RECEIVE_ACCESS, rClient(grab), grab->window, xE,
count))
deliveries = TryClientEvents(rClient(grab), xE, count,