summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/view/Window.cpp')
-rw-r--r--src/desktop/view/Window.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/desktop/view/Window.cpp b/src/desktop/view/Window.cpp
index e75c93a5..cbcdb599 100644
--- a/src/desktop/view/Window.cpp
+++ b/src/desktop/view/Window.cpp
@@ -1967,15 +1967,6 @@ void CWindow::mapWindow() {
Log::logger->log(Log::DEBUG, "Requested monitor, applying to {:mw}", m_self.lock());
}
- if (PWORKSPACE->m_defaultFloating)
- m_isFloating = true;
-
- if (PWORKSPACE->m_defaultPseudo) {
- CBox desiredGeometry = g_pXWaylandManager->getGeometryForWindow(m_self.lock());
- m_target->setPseudoSize(Vector2D{desiredGeometry.width, desiredGeometry.height});
- m_target->setPseudo(true);
- }
-
// Verify window swallowing. Get the swallower before calling onWindowCreated(m_self.lock()) because getSwallower() wouldn't get it after if m_self.lock() gets auto grouped.
const auto SWALLOWER = getSwallower();
m_swallowed = SWALLOWER;