From 79eadb258f8cb975b4984e56b1f061b9d3e02dd5 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Sun, 31 Aug 2008 10:30:05 -0400 Subject: fix focus after tabbing --- src/FocusControl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 60615a4..cead827 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc @@ -521,7 +521,8 @@ void FocusControl::unfocusWindow(WinClient &client, void FocusControl::setFocusedWindow(WinClient *client) { - if (client == s_focused_window) + if (client == s_focused_window && + (!client || client->fbwindow() == s_focused_fbwindow)) return; BScreen *screen = client ? &client->screen() : 0; -- cgit v0.11.2