summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-09-04 02:28:42 +0000
committerDana Jansens <danakj@orodu.net>2002-09-04 02:28:42 +0000
commit1f5dd220e735a0a9c0532ff8aa8b361d3327b0f2 (patch)
tree30d5471f90c7d5e4f6329ec72c90ee1778c879eb
parent18f704edd0938355622049d853c1ce3cdfaee168 (diff)
watch for sticky windows when mapping, let them show.
-rw-r--r--src/Window.cc3
1 files changed, 2 insertions, 1 deletions
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;