diff options
-rw-r--r-- | src/client/qwaylandwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index 34250d113..7fc9f398b 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -184,6 +184,8 @@ void QWaylandWindow::initWindow() // the user may have already set some window properties, so make sure to send them out for (auto it = m_properties.cbegin(); it != m_properties.cend(); ++it) mShellSurface->sendProperty(it.key(), it.value()); + + emit surfaceRoleCreated(); } else { qWarning("Could not create a shell surface object."); } @@ -295,6 +297,7 @@ void QWaylandWindow::reset() mTransientParent->removeChildPopup(this); delete mShellSurface; mShellSurface = nullptr; + emit surfaceRoleDestroyed(); delete mSubSurfaceWindow; mSubSurfaceWindow = nullptr; mTransientParent = nullptr; |