From fb539c6011578d57f23d29b9db3eadf485a4d44c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 10 Sep 2025 13:10:08 +0200 Subject: [PATCH] Xext: xv: use post instead of pre-hook for WindowDestroy Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xvmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xext/xvmain.c b/Xext/xvmain.c index e7e23c3d8..500e7188a 100644 --- a/Xext/xvmain.c +++ b/Xext/xvmain.c @@ -297,7 +297,7 @@ XvScreenInit(ScreenPtr pScreen) dixSetPrivate(&pScreen->devPrivates, XvScreenKey, pxvs); - dixScreenHookWindowDestroy(pScreen, XvWindowDestroy); + dixScreenHookPostWindowDestroy(pScreen, XvWindowDestroy); dixScreenHookClose(pScreen, XvScreenClose); dixScreenHookPixmapDestroy(pScreen, XvPixmapDestroy);