mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
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>
17 lines
430 B
C
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 */
|