diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-21 21:26:03 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-21 21:26:03 (GMT) |
commit | 73f38a0ebb33feb30124834b2fb7bdbfcdaa6788 (patch) | |
tree | fe8dce1ae945b52beaaf386ca4e81c01bd8d2f4d /src | |
parent | 1fe1da5ca0d9bfb84be88be61ded7dad667db05d (diff) | |
download | fluxbox_pavel-73f38a0ebb33feb30124834b2fb7bdbfcdaa6788.zip fluxbox_pavel-73f38a0ebb33feb30124834b2fb7bdbfcdaa6788.tar.bz2 |
fix cycling with minimized windows
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 3f8aac5..cdc46cf 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -521,6 +521,9 @@ void FocusControl::unfocusWindow(WinClient &client, | |||
521 | 521 | ||
522 | 522 | ||
523 | void FocusControl::setFocusedWindow(WinClient *client) { | 523 | void FocusControl::setFocusedWindow(WinClient *client) { |
524 | if (client == s_focused_window) | ||
525 | return; | ||
526 | |||
524 | BScreen *screen = client ? &client->screen() : 0; | 527 | BScreen *screen = client ? &client->screen() : 0; |
525 | BScreen *old_screen = | 528 | BScreen *old_screen = |
526 | FocusControl::focusedWindow() ? | 529 | FocusControl::focusedWindow() ? |