aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/property.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dix/property.c')
-rw-r--r--xorg-server/dix/property.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/dix/property.c b/xorg-server/dix/property.c
index 2ba3f4419..53b9821a9 100644
--- a/xorg-server/dix/property.c
+++ b/xorg-server/dix/property.c
@@ -424,6 +424,9 @@ DeleteAllWindowProperties(WindowPtr pWin)
dixFreeObjectWithPrivates(pProp, PRIVATE_PROPERTY);
pProp = pNextProp;
}
+
+ if (pWin->optional)
+ pWin->optional->userProps = NULL;
}
static int