From: Dana Jansens Date: Wed, 4 Sep 2002 02:28:42 +0000 (+0000) Subject: watch for sticky windows when mapping, let them show. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1f5dd220e735a0a9c0532ff8aa8b361d3327b0f2;p=chaz%2Fopenbox watch for sticky windows when mapping, let them show. --- diff --git a/src/Window.cc b/src/Window.cc index 701482d0..b02b5357 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2736,7 +2736,8 @@ void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) { Even though the window wants to be shown, if it is not on the current workspace, then it isn't going to be shown right now. */ - if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID() && + if (! flags.stuck && + blackbox_attrib.workspace != screen->getCurrentWorkspaceID() && blackbox_attrib.workspace < screen->getWorkspaceCount()) if (current_state == NormalState) current_state = WithdrawnState;