Files
xserver/dix/client_priv.h
Enrico Weigelt, metux IT consult 9856372932 dix: add callback before ClientRec is being destroyed
Existing client-state hook isn't sufficient for this, and so easy to
be extended cleanly (*1). Adding a new callback is trivial and cheap,
so preferring this way, instead of trying to tweak the existing hook
for something it's never been designed for.

*1) see discussion here: https://github.com/X11Libre/xserver/pull/1077

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-22 12:15:31 +02:00

17 lines
430 B
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_DIX_CLIENT_PRIV_H
#define _XSERVER_DIX_CLIENT_PRIV_H
#include "include/callback.h"
/*
* called right before ClientRec is about to be destroyed,
* after resources have been freed. argument is ClientPtr
*/
extern CallbackListPtr ClientDestroyCallback;
#endif /* _XSERVER_DIX_CLIENT_PRIV_H */