mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 21:41:25 +00:00
DIX: Reset window properties when freeing them
This enables us to reliably inspect properties when destroying windows. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Fernando Carrijo <fcarrijo@freedesktop.org>
This commit is contained in:
@@ -424,6 +424,9 @@ DeleteAllWindowProperties(WindowPtr pWin)
|
||||
dixFreeObjectWithPrivates(pProp, PRIVATE_PROPERTY);
|
||||
pProp = pNextProp;
|
||||
}
|
||||
|
||||
if (pWin->optional)
|
||||
pWin->optional->userProps = NULL;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user