diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-30 07:04:54 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-30 13:10:21 (GMT) |
commit | f6132b7602263672a97b89a30c6f9efe0355b7ee (patch) | |
tree | 2ed573dcf1833e0288d5cfea79a23e7ad82c0e77 | |
parent | 87c0182ea5c44bfeee39e0a52604bab7058fe718 (diff) | |
download | fluxbox-f6132b7602263672a97b89a30c6f9efe0355b7ee.zip fluxbox-f6132b7602263672a97b89a30c6f9efe0355b7ee.tar.bz2 |
explicitly set s_focusedWindow for cycle protection
-rw-r--r-- | src/FocusControl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 95e8cde..366af34 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -595,6 +595,8 @@ void FocusControl::setFocusedWindow(WinClient *client) { | |||
595 | // if we're currently cycling and the client tries to juggle around focus | 595 | // if we're currently cycling and the client tries to juggle around focus |
596 | // on FocusIn events to provide client-side modality - don't let him | 596 | // on FocusIn events to provide client-side modality - don't let him |
597 | next->focus(); | 597 | next->focus(); |
598 | if (WinClient *nextClient = dynamic_cast<WinClient*>(next)) | ||
599 | setFocusedWindow(nextClient); // doesn't happen automatically while cycling, 1148 | ||
598 | return; | 600 | return; |
599 | } | 601 | } |
600 | } | 602 | } |