dix: add screen hook for post-window-destroy

In contrast to the already existing WindowDestroy hook, this one is
called *after* the driver's DestroyWindow() proc.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-10 13:06:32 +02:00
parent 12bc7c4988
commit 4089e56891
3 changed files with 39 additions and 2 deletions

View File

@@ -700,6 +700,10 @@ typedef struct _Screen {
/* additional screen post-close notify hooks (replaces wrapping CloseScreen)
should NOT be touched outside of DIX core */
CallbackListPtr hookPostClose;
/* additional post window destructors (replaces wrapping DestroyWindow).
should NOT be touched outside of DIX core */
CallbackListPtr hookPostWindowDestroy;
} ScreenRec;
static inline RegionPtr