aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2012-07-14 08:08:28 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-07-14 08:08:28 (GMT)
commita076bdcbdaef5d61370acd35e8e2870fb7ad9e09 (patch)
tree407162dc75cc242fa446a7dece77987aad0c81e8 /src/FocusControl.cc
parent9a28a8bfec7606f19f373a27df33a89ba6f7de7c (diff)
parent2944cd0014cde6a219822f120fff9588225e8776 (diff)
downloadfluxbox-a076bdcbdaef5d61370acd35e8e2870fb7ad9e09.zip
fluxbox-a076bdcbdaef5d61370acd35e8e2870fb7ad9e09.tar.bz2
merge
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc2
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
54bool doSkipWindow(const Focusable &win, const ClientPattern *pat) { 54bool 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