From 73f38a0ebb33feb30124834b2fb7bdbfcdaa6788 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Thu, 21 Aug 2008 14:26:03 -0700 Subject: fix cycling with minimized windows --- src/FocusControl.cc | 3 +++ 1 file changed, 3 insertions(+) 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, void FocusControl::setFocusedWindow(WinClient *client) { + if (client == s_focused_window) + return; + BScreen *screen = client ? &client->screen() : 0; BScreen *old_screen = FocusControl::focusedWindow() ? -- cgit v0.11.2