aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-28 19:17:38 (GMT)
committermarkt <markt>2006-06-28 19:17:38 (GMT)
commit6f2a566206faa0e6e8eff34f96888f6910644f56 (patch)
tree4e71fe5642b60d3f0934dbc6c6cf2bfd73355fc1 /src/FocusControl.cc
parentc5c316e09b27cda8b4b9a2d9a78d458402585a1b (diff)
downloadfluxbox-6f2a566206faa0e6e8eff34f96888f6910644f56.zip
fluxbox-6f2a566206faa0e6e8eff34f96888f6910644f56.tar.bz2
more focus issues with linear cycling and tabbed windows
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 19d0bf8..f469521 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -87,9 +87,9 @@ void FocusControl::cycleFocus(int opts, bool cycle_reverse) {
87 FocusedWindows *window_list = (opts & CYCLELINEAR) ? &m_creation_order_list : &m_focused_list; 87 FocusedWindows *window_list = (opts & CYCLELINEAR) ? &m_creation_order_list : &m_focused_list;
88 if (!m_cycling_focus) { 88 if (!m_cycling_focus) {
89 m_cycling_focus = true; 89 m_cycling_focus = true;
90 if ((opts & CYCLELINEAR) && m_cycling_window != m_focused_list.end()) { 90 if (opts & CYCLELINEAR) {
91 m_cycling_creation_order = true; 91 m_cycling_creation_order = true;
92 m_cycling_window = find(window_list->begin(),window_list->end(),*m_cycling_window); 92 m_cycling_window = find(window_list->begin(),window_list->end(),s_focused_window);
93 } else { 93 } else {
94 m_cycling_creation_order = (opts & CYCLELINEAR); 94 m_cycling_creation_order = (opts & CYCLELINEAR);
95 m_cycling_window = window_list->begin(); 95 m_cycling_window = window_list->begin();