projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b0784
)
dont let windows get initially mapped when they arent on the current workspace
author
Dana Jansens
<danakj@orodu.net>
Tue, 13 Aug 2002 21:25:41 +0000
(21:25 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 13 Aug 2002 21:25:41 +0000
(21:25 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index c58e0b3dea0ef4f55eecbb03e8f1582d3517cfca..60182ce952e38dbccb224df533d8b570792db4f7 100644
(file)
--- a/
src/Window.cc
+++ b/
src/Window.cc
@@
-2611,6
+2611,13
@@
void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) {
client.window);
#endif // DEBUG
+ /*
+ Even thought 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())
+ current_state = WithdrawnState;
+
switch (current_state) {
case IconicState:
iconify();