diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-17 15:41:45 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-06-23 21:07:48 +0000 |
commit | facdaae4e8e23f7b8d346ef0f35a814733ab2927 (patch) | |
tree | 06390d7f29fe12f2c13be1491aaef71b6dd47dad /Xi | |
parent | 591d95c79e31fd9d7805b801500e691988fcfaf4 (diff) |
xace: typesafe hook function for XACE_KEY_AVAIL
he 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 dc70bae00..6bfc9a6de 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1880,7 +1880,7 @@ ProcessDeviceEvent(InternalEvent *ev, DeviceIntPtr device) int count; if (EventToCore(ev, &core, &count) == Success && count > 0) { - XaceHook(XACE_KEY_AVAIL, core, device, 0); + XaceHookKeyAvail(core, device, 0); free(core); } } |