Rui Matos 69c267b142 xwayland: Fix windows disappearing on reparenting
If the wayland surface isn't available yet when we process the
WL_SURFACE_ID ClientMessage, we schedule a later function to try the
association again after we get a chance to process wayland requests.

This works fine except on cases where the MetaWindow already had a
previous surface attached (i.e. when the xwindow is reparented) since
we only break the existing association on the later function which
means that when processing the old surface's destruction we destroy
the MetaWindow and cancel the pending later function leaving us
without a MetaWindow and an invisible surface.

Fix this by detaching the old surface as soon as possible so that the
MetaWindow survives.

https://bugzilla.gnome.org/show_bug.cgi?id=743339
2015-09-25 19:09:48 +02:00
2015-07-06 00:52:18 -07:00
2015-09-20 18:53:28 +03:00
2014-03-18 20:37:35 -04:00
2015-08-10 17:23:23 +02:00
2015-09-21 21:52:14 +02:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2015-09-21 21:52:14 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%