set desktop w/o desktop hint on all desktops
helps with legacy desktops replacing decorations like IceWM which withdraw the desktop settings REVIEW: 104112
This commit is contained in:
parent
3f0b4826dd
commit
c885d88f28
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ bool Client::manage(Window w, bool isMapped)
|
|||
}
|
||||
}
|
||||
if (desk == 0) // Assume window wants to be visible on the current desktop
|
||||
desk = workspace()->currentDesktop();
|
||||
desk = isDesktop() ? NET::OnAllDesktops : workspace()->currentDesktop();
|
||||
desk = rules()->checkDesktop(desk, !isMapped);
|
||||
if (desk != NET::OnAllDesktops) // Do range check
|
||||
desk = qMax(1, qMin(workspace()->numberOfDesktops(), desk));
|
||||
|
|
Loading…
Reference in a new issue