xace: fix a bad send access hook call.
This commit is contained in:
parent
993daf0649
commit
da682abc78
|
@ -3722,7 +3722,7 @@ DeliverFocusedEvent(DeviceIntPtr keybd, InternalEvent *event, WindowPtr window)
|
||||||
{
|
{
|
||||||
rc = EventToCore(event, &core);
|
rc = EventToCore(event, &core);
|
||||||
if (rc == Success &&
|
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);
|
FixUpEventFromWindow(keybd, &core, focus, None, FALSE);
|
||||||
deliveries = DeliverEventsToWindow(keybd, focus, &core, 1,
|
deliveries = DeliverEventsToWindow(keybd, focus, &core, 1,
|
||||||
|
|
Loading…
Reference in New Issue