From 6f3a4caf97aa8dc99aa7bf1fb227db67275839d7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 26 Sep 2025 16:13:58 +0200 Subject: [PATCH] xfree86: xv: fix missed hooking of WindowDestroy Forgot to register window destroy hook - that's leading to crash: https://github.com/X11Libre/xserver/issues/959 Fixes: b60581e393c1365c5fb90bf60cd9fac98562fd3e Bug: https://github.com/X11Libre/xserver/issues/959 Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86xv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index 3eb800360..0bd081c67 100644 --- a/hw/xfree86/common/xf86xv.c +++ b/hw/xfree86/common/xf86xv.c @@ -255,6 +255,7 @@ xf86XVScreenInit(ScreenPtr pScreen, XF86VideoAdaptorPtr * adaptors, int num) pScrn = xf86ScreenToScrn(pScreen); + dixScreenHookWindowDestroy(pScreen, xf86XVWindowDestroy); dixScreenHookClose(pScreen, xf86XVCloseScreen); ScreenPriv->WindowExposures = pScreen->WindowExposures;