From 1f5dd220e735a0a9c0532ff8aa8b361d3327b0f2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Sep 2002 02:28:42 +0000 Subject: [PATCH] watch for sticky windows when mapping, let them show. --- src/Window.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.45.2