next/prevwindow toolbar buttons break mousefocus
This commit is contained in:
parent
7a79953f04
commit
bf3aee5f67
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0rc3:
|
||||
*06/07/10:
|
||||
* Next/PrevWindow toolbar buttons break MouseFocus: bug #1519913 (Mark)
|
||||
WorkspaceCmd.cc FocusControl.cc
|
||||
*06/07/08:
|
||||
* Fix implementation of _NET_MOVERESIZE_WINDOW (Mark)
|
||||
Ewmh.cc
|
||||
|
|
|
@ -86,6 +86,7 @@ void FocusControl::cycleFocus(int opts, bool cycle_reverse) {
|
|||
|
||||
FocusedWindows *window_list = (opts & CYCLELINEAR) ? &m_creation_order_list : &m_focused_list;
|
||||
if (!m_cycling_focus) {
|
||||
if (Fluxbox::instance()->watchingScreen())
|
||||
m_cycling_focus = true;
|
||||
if (opts & CYCLELINEAR) {
|
||||
m_cycling_creation_order = true;
|
||||
|
|
|
@ -60,7 +60,7 @@ void NextWindowCmd::execute() {
|
|||
screen->focusControl().nextFocus(m_option);
|
||||
}
|
||||
} else
|
||||
screen->focusControl().nextFocus(m_option);
|
||||
screen->focusControl().nextFocus(m_option | FocusControl::CYCLELINEAR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ void PrevWindowCmd::execute() {
|
|||
screen->focusControl().prevFocus(m_option);
|
||||
}
|
||||
} else
|
||||
screen->focusControl().nextFocus(m_option);
|
||||
screen->focusControl().nextFocus(m_option | FocusControl::CYCLELINEAR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue