diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2016-12-15 17:43:00 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2016-12-16 17:13:44 +0000 |
commit | 61f9a3fd6974ec0c644d32519baa566a35ec48f2 (patch) | |
tree | 4813689cbecaeba8977b8e25e339c25aab49464d | |
parent | 4e7af898b28fa8995582a4c0df0455a575525911 (diff) |
Fix initial window property values being propagated
This was broken since the the shell-surface refactoring.
Change-Id: I130b7396e85c570a9d11d609af6b3016e3f706f0
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-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 d16746bac..ca99f3de1 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -176,6 +176,9 @@ void QWaylandWindow::initWindow() mShellSurface->setAppId(appId); } } + // 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()); } // Enable high-dpi rendering. Scale() returns the screen scale factor and will |