fix focus after tabbing

This commit is contained in:
Mark Tiefenbruck 2008-08-31 10:30:05 -04:00
parent 6a72474185
commit 79eadb258f

View file

@ -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;