diff options
author | fluxgen <fluxgen> | 2007-07-19 19:21:57 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2007-07-19 19:21:57 (GMT) |
commit | 9545871f7a0d44edf400715cd8cdd21d78f36884 (patch) | |
tree | 811d3253b01833a8366b90591860d844bd11b7b9 /src | |
parent | 8de73d0fd4fde6e6f5349831304fb9a268af8d70 (diff) | |
download | fluxbox-9545871f7a0d44edf400715cd8cdd21d78f36884.zip fluxbox-9545871f7a0d44edf400715cd8cdd21d78f36884.tar.bz2 |
minor fix for alt-tab
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index c333005..7b2fecd 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -123,7 +123,11 @@ void FocusControl::cycleFocus(FocusedWindows &window_list, int opts, bool cycle_ | |||
123 | continue; | 123 | continue; |
124 | 124 | ||
125 | fbwin = (*it)->fbwindow(); | 125 | fbwin = (*it)->fbwindow(); |
126 | if (!fbwin) | 126 | // make sure the window is on the same workspace, |
127 | // unless its sticky, which is ok | ||
128 | if (!fbwin || | ||
129 | ( fbwin->workspaceNumber() != m_screen.currentWorkspaceID() && | ||
130 | ! fbwin->isStuck())) | ||
127 | continue; | 131 | continue; |
128 | 132 | ||
129 | // keep track of the originally selected window in a group | 133 | // keep track of the originally selected window in a group |