diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-16 20:34:50 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-06-23 21:07:48 +0000 |
commit | 67e468c8bd00c5d835ad427d2a54d120fcc546a8 (patch) | |
tree | 878241069cbd906298d4d8fb67e431519a73156a /Xi | |
parent | 9524ffee89edfb11baf66b5519de01ed3e7f5bd1 (diff) |
xace: typesafe hook function for XACE_SEND_ACCESS
The generic XaceHook() call isn't typesafe (und unnecessarily slow).
Better add an explicit function, just like we already have for others.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1556>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/exevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 38150bac7..8ecaf0110 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -2957,7 +2957,7 @@ SendEvent(ClientPtr client, DeviceIntPtr d, Window dest, Bool propagate, break; } } - else if (!XaceHook(XACE_SEND_ACCESS, client, NULL, pWin, ev, count)) + else if (!XaceHookSendAccess(client, NULL, pWin, ev, count)) DeliverEventsToWindow(d, pWin, ev, count, mask, NullGrab); return Success; } |