set a workspace and window number even for !normal windows
This commit is contained in:
parent
aa9ade7a90
commit
183cf03a4f
1 changed files with 5 additions and 0 deletions
|
@ -110,6 +110,11 @@ void Workspace::addWindow(BlackboxWindow *w, bool place, bool sticky) {
|
|||
lastfocus = w;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
w->setWorkspace(id);
|
||||
// just give it some number, else bad things happen as it is assumed to not
|
||||
// be on a workspace
|
||||
w->setWindowNumber(0);
|
||||
}
|
||||
|
||||
if (! w->isDesktop())
|
||||
|
|
Loading…
Reference in a new issue