aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-21 21:26:03 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-21 21:26:03 (GMT)
commit73f38a0ebb33feb30124834b2fb7bdbfcdaa6788 (patch)
treefe8dce1ae945b52beaaf386ca4e81c01bd8d2f4d
parent1fe1da5ca0d9bfb84be88be61ded7dad667db05d (diff)
downloadfluxbox-73f38a0ebb33feb30124834b2fb7bdbfcdaa6788.zip
fluxbox-73f38a0ebb33feb30124834b2fb7bdbfcdaa6788.tar.bz2
fix cycling with minimized windows
-rw-r--r--src/FocusControl.cc3
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
523void FocusControl::setFocusedWindow(WinClient *client) { 523void 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() ?