xwayland: Better handle a race with X
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 Jul 2014 20:17:47 +0000 (13:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 24 Jul 2014 20:19:13 +0000 (13:19 -0700)
commit0250a740c2320d0eeafabfedcbea20ef95b45f43
tree35b15209df52ae29b4a5c1b40c6807cf700930ad
parent4ff4d92d7e877aadbeade8d5d9fbd77b44d7540a
xwayland: Better handle a race with X

If X windows are created and destroyed very fast sometimes the WM window
object gets created and destroyed before we get around to handling client
messages.  Failing to check that the window is still valid can result in a
segfault.
xwayland/window-manager.c