From 8964cbdaa8c21c96e1fc0d5297f2bda93b4555e9 Mon Sep 17 00:00:00 2001 From: markt Date: Sat, 31 Mar 2007 17:46:51 +0000 Subject: fixed a little crash bug --- src/FocusControl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FocusControl.cc b/src/FocusControl.cc index c97b699..1a4d74d 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc @@ -125,7 +125,7 @@ void FocusControl::cycleFocus(Focusables &window_list, const ClientPattern *pat, cycle_reverse ? --it : ++it; // give up [do nothing] if we reach the current focused again if (it == m_cycling_window) - break; + return; if (it == it_end) continue; -- cgit v0.11.2