Commit 91beeee0 authored by Daniel Stone's avatar Daniel Stone
Browse files

DIX: Reset window properties when freeing them



This enables us to reliably inspect properties when destroying windows.
Signed-off-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
Reviewed-by: default avatarFernando Carrijo <fcarrijo@freedesktop.org>
parent 36ebdd36
......@@ -424,6 +424,9 @@ DeleteAllWindowProperties(WindowPtr pWin)
dixFreeObjectWithPrivates(pProp, PRIVATE_PROPERTY);
pProp = pNextProp;
}
if (pWin->optional)
pWin->optional->userProps = NULL;
}
static int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment