set a workspace and window number even for !normal windows

This commit is contained in:
Dana Jansens 2002-08-21 06:35:29 +00:00
parent aa9ade7a90
commit 183cf03a4f

View file

@ -110,6 +110,11 @@ void Workspace::addWindow(BlackboxWindow *w, bool place, bool sticky) {
lastfocus = w; 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()) if (! w->isDesktop())