summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-03-03 21:00:33 +0000
committerVaxry <vaxry@vaxry.net>2026-03-03 21:00:33 +0000
commitc11cadd8d6f7b8ea0dc3d49424dd7c4f7efa4bd7 (patch)
tree6ee734f163f2542e976907dccd2369195d0f6572 /src/desktop/view/Window.cpp
parentdc4b082ee8748e70e0a6d6cbec000e660321e215 (diff)
desktop/window: don't group modals
Diffstat (limited to 'src/desktop/view/Window.cpp')
-rw-r--r--src/desktop/view/Window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/view/Window.cpp b/src/desktop/view/Window.cpp
index 5d414c49..ea2b9526 100644
--- a/src/desktop/view/Window.cpp
+++ b/src/desktop/view/Window.cpp
@@ -1953,6 +1953,7 @@ void CWindow::mapWindow() {
&& Desktop::focusState()->window()->m_workspace == m_workspace // workspaces match, we're not opening on another ws
&& !g_pXWaylandManager->shouldBeFloated(m_self.lock()) && !isX11OverrideRedirect() // not a window that should float or X11
&& !(m_isFloating && !Desktop::focusState()->window()->m_isFloating) // do not auto-group a floated window into a tiled group
+ && !isModal() // no modal grouping
) {
// add to group if we are focused on one
Desktop::focusState()->window()->m_group->add(m_self.lock());