mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-01-18 04:32:47 -05: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).