xwayland: Don't crash when we get configure notify for destroyed frame windows
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 4 Jul 2013 06:29:32 +0000 (02:29 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 4 Jul 2013 06:31:53 +0000 (02:31 -0400)
commit00db2ee5ffd3934f2699e17f5ba793c86d87b27d
tree84c5444ccbe85fbe08c23e96299a044e6da60997
parent6780073d7815ea92bbe401115824c31ebdcffbd5
xwayland: Don't crash when we get configure notify for destroyed frame windows

We can get a destroy notify for the frame window after we've removed it
from the hash table.  This turns into a NULL pointer deref when we look up
the window and try to use it for debugging printout.

Fixes the failing xwayland test case.
src/xwayland/window-manager.c