desktop/window: don't group modals

This commit is contained in:
Vaxry 2026-03-03 21:00:33 +00:00
parent dc4b082ee8
commit c11cadd8d6
No known key found for this signature in database
GPG key ID: 665806380871D640

View file

@ -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());