xace: fix a bad send access hook call.

This commit is contained in:
Eamon Walsh 2009-06-04 17:33:25 -04:00
parent 993daf0649
commit da682abc78

View File

@ -3722,7 +3722,7 @@ DeliverFocusedEvent(DeviceIntPtr keybd, InternalEvent *event, WindowPtr window)
{
rc = EventToCore(event, &core);
if (rc == Success &&
XaceHook(XACE_SEND_ACCESS, NULL, keybd, focus, core, 1) == Success)
XaceHook(XACE_SEND_ACCESS, NULL, keybd, focus, &core, 1) == Success)
{
FixUpEventFromWindow(keybd, &core, focus, None, FALSE);
deliveries = DeliverEventsToWindow(keybd, focus, &core, 1,