summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.cpp
diff options
context:
space:
mode:
authorImperishableSecret <57067794+imperishableSecret@users.noreply.github.com>2026-04-29 03:26:18 +0530
committerGitHub <noreply@github.com>2026-04-28 22:56:18 +0100
commite61976233e01446c4e7dd4fa3b4209fea1fca9ed (patch)
treea8a9e63f4109a0c2230f5f70be97b32d29ce7b18 /src/desktop/view/Window.cpp
parent94b90a2cb0b4a0e13018cd5ebbf09394abf3b96b (diff)
workspace: remove deprecated and unused members (#14198)
Clean up CWorkspace by removing deprecated m_defaultFloating, m_defaultPseudo, and unused m_wlrCoordinateArr
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;