mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-10-16 00:25:33 -04:00
Instead of telling it in the construction after forcing the window creation, install an event handler that sets it when we get the PlatformSurface event. It has the advantage that it will also trigger in subsequent platform surface events (e.g. after hide and show).