From e61976233e01446c4e7dd4fa3b4209fea1fca9ed Mon Sep 17 00:00:00 2001 From: ImperishableSecret <57067794+imperishableSecret@users.noreply.github.com> Date: Wed, 29 Apr 2026 03:26:18 +0530 Subject: workspace: remove deprecated and unused members (#14198) Clean up CWorkspace by removing deprecated m_defaultFloating, m_defaultPseudo, and unused m_wlrCoordinateArr --- src/desktop/view/Window.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/desktop/view/Window.cpp') 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; -- cgit v1.2.3