aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FocusControl.cc2
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 }