diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-17 15:22:46 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-06-23 21:07:48 +0000 |
commit | 51d8bcfc0db6b0ee56ab9d8b8eff337b713b9278 (patch) | |
tree | d996660fc1e58b9a68f8e7ad7457d74b5c6bb2ae /dbe | |
parent | 47d6c3ad750f7dd645de0c7e11b5575a7b8a1e67 (diff) |
xace: typesafe hook function for XACE_SCREEN_ACCESS
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 'dbe')
-rw-r--r-- | dbe/dbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -614,7 +614,7 @@ ProcDbeGetVisualInfo(ClientPtr client) pDrawables[i]->pScreen; pDbeScreenPriv = DBE_SCREEN_PRIV(pScreen); - rc = XaceHook(XACE_SCREEN_ACCESS, client, pScreen, DixGetAttrAccess); + rc = XaceHookScreenAccess(client, pScreen, DixGetAttrAccess); if (rc != Success) goto freeScrVisInfo; |