summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandwindow.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-06-15 14:59:26 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-06-19 06:19:13 +0000
commitcf86659c874fcb1d3f88a784cd88a51942e5926b (patch)
tree07933efbc88a58420f6248111ac6018bf6f547e7 /src/client/qwaylandwindow.cpp
parent9b3260164da42b5edabc6cf6d73b7a35ab38e93d (diff)
Client: Get rid of QWaylandShellSurface::setType
This shouldn't change any behavior, but lets the shell integrations choose if they want to use the extremely hacky QWaylandWindow::transientParent(). Hint: Not all shells need the hacks, and not all shells need them in all cases, and some shells may need even more hacks. Change-Id: Id105e4feb83cc9c14dcf07dcca55fcd5e63d4a2b Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandwindow.cpp')
-rw-r--r--src/client/qwaylandwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 17602626b..9378f9ceb 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -139,8 +139,6 @@ void QWaylandWindow::initWindow()
mShellSurface = mDisplay->createShellSurface(this);
if (mShellSurface) {
- mShellSurface->setType(window()->type(), transientParent());
-
// Set initial surface title
setWindowTitle(window()->title());