From: Dana Jansens Date: Wed, 21 Aug 2002 06:35:29 +0000 (+0000) Subject: set a workspace and window number even for !normal windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=183cf03a4f45196213c9d52d6cfe4b9da00d3e26;p=chaz%2Fopenbox set a workspace and window number even for !normal windows --- diff --git a/src/Workspace.cc b/src/Workspace.cc index 97a7ee73..1cb40b39 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -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())