diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-10 11:32:47 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-10 11:32:47 (GMT) |
commit | 882a50fe1d4930b156965c54d9b66ecb27b4c9b2 (patch) | |
tree | 3c25b519db7880599ecbd644a0dad4fe36a9ce40 /src | |
parent | 8a7c1171538ba97083a49399f8a7fdc4524f385f (diff) | |
download | fluxbox-882a50fe1d4930b156965c54d9b66ecb27b4c9b2.zip fluxbox-882a50fe1d4930b156965c54d9b66ecb27b4c9b2.tar.bz2 |
removed hardcoded limitation to cycle/focus windows on all workspaces
reasons:
* fixes #1732115, allows to have chatwindows on another workspaces and reach them via :NextWindow (urgent=yes)
* old behavior can be achieve by using the (workspace=[current]) pattern
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index f49db32..341ad0d 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -56,9 +56,7 @@ bool doSkipWindow(const Focusable &win, const ClientPattern *pat) { | |||
56 | return true; // skip if no fbwindow or if focushidden | 56 | return true; // skip if no fbwindow or if focushidden |
57 | if (pat && !pat->match(win)) | 57 | if (pat && !pat->match(win)) |
58 | return true; // skip if it doesn't match the pattern | 58 | return true; // skip if it doesn't match the pattern |
59 | if (fbwin->workspaceNumber() != win.screen().currentWorkspaceID() && | 59 | |
60 | !fbwin->isStuck()) | ||
61 | return true; // for now, we only cycle through the current workspace | ||
62 | return false; // else don't skip | 60 | return false; // else don't skip |
63 | } | 61 | } |
64 | 62 | ||