client: Fix changing to subsurface now that wl_surface is not destroyed
In the past isVisible() was equivalent to having a wl_surface - this does
not hold anymore. The QWaylandWindow will have a wl_surface for all its
life time. Changing parent while the window is hidden would run now
into a protocol error.
Change-Id: I2aec6217ad495daa9dbb2ee2fee1b73ba00e6937
Reviewed-by: David Edmundson <davidedmundson@kde.org>
| commit | f0fe0e61d8f9e1e2b3c307314e5c2c937a4fd72e |
| parent | c12f0400dcdf88b4c0f40bf00eb652940c517cd2 |
| author | David Redondo <qt@david-redondo.de> |
| committer | David Redondo <qt@david-redondo.de> |
| commit time | Wed, 6 Nov 2024 14:07:09 +0100 |