mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2026-02-03 12:20:08 -05:00
window: Improve how we tell the window to do layer-shell
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).
This commit is contained in:
@ -138,6 +138,8 @@ public:
|
||||
|
||||
static Window *qmlAttachedProperties(QObject *object);
|
||||
|
||||
bool eventFilter(QObject *watched, QEvent *event) override;
|
||||
|
||||
Q_SIGNALS:
|
||||
void anchorsChanged();
|
||||
void exclusionZoneChanged();
|
||||
|
||||
Reference in New Issue
Block a user