diff options
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 |