mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
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: b60581e393
Bug: https://github.com/X11Libre/xserver/issues/959
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
1439fc7aa1
commit
0e723d3b1e
@@ -251,6 +251,7 @@ xf86XVScreenInit(ScreenPtr pScreen, XF86VideoAdaptorPtr * adaptors, int num)
|
||||
|
||||
pScrn = xf86ScreenToScrn(pScreen);
|
||||
|
||||
dixScreenHookWindowDestroy(pScreen, xf86XVWindowDestroy);
|
||||
dixScreenHookClose(pScreen, xf86XVCloseScreen);
|
||||
|
||||
ScreenPriv->WindowExposures = pScreen->WindowExposures;
|
||||
|
||||
Reference in New Issue
Block a user