aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-31 14:30:05 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-31 14:30:05 (GMT)
commit79eadb258f8cb975b4984e56b1f061b9d3e02dd5 (patch)
tree0eb4ad216bc2c722f2a5bdd955b42758966be6ff /src/FocusControl.cc
parent6a72474185a91044894f51c17b84398abc94a123 (diff)
downloadfluxbox-79eadb258f8cb975b4984e56b1f061b9d3e02dd5.zip
fluxbox-79eadb258f8cb975b4984e56b1f061b9d3e02dd5.tar.bz2
fix focus after tabbing
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc3
1 files changed, 2 insertions, 1 deletions
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,
521 521
522 522
523void FocusControl::setFocusedWindow(WinClient *client) { 523void FocusControl::setFocusedWindow(WinClient *client) {
524 if (client == s_focused_window) 524 if (client == s_focused_window &&
525 (!client || client->fbwindow() == s_focused_fbwindow))
525 return; 526 return;
526 527
527 BScreen *screen = client ? &client->screen() : 0; 528 BScreen *screen = client ? &client->screen() : 0;