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:
98c17f1
)
when a window is uniconified, ensure its nothe 'last focused window' on some other...
author
Dana Jansens
<danakj@orodu.net>
Sat, 27 Jul 2002 08:19:40 +0000
(08:19 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 27 Jul 2002 08:19:40 +0000
(08:19 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index
97393e5
..
1662484
100644
(file)
--- a/
src/Window.cc
+++ b/
src/Window.cc
@@
-1972,6
+1972,11
@@
void BlackboxWindow::stick(void) {
xatom->setValue(client.window, XAtom::net_wm_desktop, XAtom::cardinal,
blackbox_attrib.workspace);
+ for (unsigned int i = 0; i < screen->getNumberOfWorkspaces(); ++i)
+ if (i != blackbox_attrib.workspace)
+ if (screen->getWorkspace(i)->getLastFocusedWindow() == this)
+ screen->getWorkspace(i)->focusFallback(this);
+
setState(current_state);
} else {
flags.stuck = True;