desktop/window: don't group modals
This commit is contained in:
parent
dc4b082ee8
commit
c11cadd8d6
1 changed files with 1 additions and 0 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue