diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2012-07-07 02:30:39 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2012-07-07 02:30:39 (GMT) |
commit | 9eecd58bf30c8b1c0d72b9070bf91e2c60f32fa5 (patch) | |
tree | 340b04665d5df5305bdb59bf619aee8813b33d39 /src/FocusControl.cc | |
parent | 610a15ac47371c5cbd4c2dcf6eec696aec5bb4fa (diff) | |
download | fluxbox-9eecd58bf30c8b1c0d72b9070bf91e2c60f32fa5.zip fluxbox-9eecd58bf30c8b1c0d72b9070bf91e2c60f32fa5.tar.bz2 |
make alt-tab skip modal windows
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r-- | src/FocusControl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 5bf113f..383de61 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -53,7 +53,7 @@ namespace { | |||
53 | 53 | ||
54 | bool doSkipWindow(const Focusable &win, const ClientPattern *pat) { | 54 | bool doSkipWindow(const Focusable &win, const ClientPattern *pat) { |
55 | const FluxboxWindow *fbwin = win.fbwindow(); | 55 | const FluxboxWindow *fbwin = win.fbwindow(); |
56 | if (!fbwin || fbwin->isFocusHidden()) | 56 | if (!fbwin || fbwin->isFocusHidden() || fbwin->isModal()) |
57 | return true; // skip if no fbwindow or if focushidden | 57 | return true; // skip if no fbwindow or if focushidden |
58 | if (pat && !pat->match(win)) | 58 | if (pat && !pat->match(win)) |
59 | return true; // skip if it doesn't match the pattern | 59 | return true; // skip if it doesn't match the pattern |