diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-21 16:44:25 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-21 16:44:25 +0100 |
commit | 061785b1688de8dbf7ce9a423d16fb6d52518dc7 (patch) | |
tree | f9dd83f5fc3c3e3c425d6eb8833ff7afaceb1c6f | |
parent | cae4f4af2a0174ef36b9292eef7b9cf57afbfe83 (diff) |
sna/dri2: Decouple the Client event link on Drawable free
We need to keep the two lists in check across asynchronous client/window
destruction.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index 61917cfa..a43cdf1e 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -1494,6 +1494,7 @@ void sna_dri2_destroy_window(WindowPtr win) while ((info = chain)) { info->draw = NULL; info->client = NULL; + list_del(&info->link); chain = info->chain; info->chain = NULL; |