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:
9884613
)
dont switch workspaces when focusing a sticky window
author
Dana Jansens
<danakj@orodu.net>
Fri, 2 Aug 2002 14:57:30 +0000
(14:57 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 2 Aug 2002 14:57:30 +0000
(14:57 +0000)
src/blackbox.cc
patch
|
blob
|
history
diff --git
a/src/blackbox.cc
b/src/blackbox.cc
index a818f12818d323a2f3c3b5651ec761b90fa15858..0e03e17817ebc9289f31b5d89bb8a95a92ad10da 100644
(file)
--- a/
src/blackbox.cc
+++ b/
src/blackbox.cc
@@
-713,7
+713,8
@@
void Blackbox::process_event(XEvent *e) {
if (win->isIconic())
win->deiconify(False, True);
- if (win->getWorkspaceNumber() != screen->getCurrentWorkspaceID())
+ if (! win->isStuck() &&
+ (win->getWorkspaceNumber() != screen->getCurrentWorkspaceID()))
screen->changeWorkspaceID(win->getWorkspaceNumber());
if (win->isVisible() && win->setInputFocus()) {
win->getScreen()->getWorkspace(win->getWorkspaceNumber())->