diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-17 20:52:00 (GMT) |
---|---|---|
committer | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-30 13:10:21 (GMT) |
commit | 87c0182ea5c44bfeee39e0a52604bab7058fe718 (patch) | |
tree | a5080510b35779dd5cfea95a2802a5defb0e15bf /src | |
parent | 635f14e5c9cfe5fff46bc71da0b657f8a94bfc8d (diff) | |
download | fluxbox-87c0182ea5c44bfeee39e0a52604bab7058fe718.zip fluxbox-87c0182ea5c44bfeee39e0a52604bab7058fe718.tar.bz2 |
Do not reset cycle focus when unsetting focus only
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index b319d78..95e8cde 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -589,7 +589,7 @@ void FocusControl::setFocusedWindow(WinClient *client) { | |||
589 | return; | 589 | return; |
590 | 590 | ||
591 | BScreen *screen = client ? &client->screen() : 0; | 591 | BScreen *screen = client ? &client->screen() : 0; |
592 | if (screen && screen->focusControl().isCycling()) { | 592 | if (client && screen && screen->focusControl().isCycling()) { |
593 | Focusable *next = screen->focusControl().m_cycling_next; | 593 | Focusable *next = screen->focusControl().m_cycling_next; |
594 | if (next && next != client && screen->focusControl().m_cycling_list->contains(*next)) { | 594 | if (next && next != client && screen->focusControl().m_cycling_list->contains(*next)) { |
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 |