aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-07-09 06:51:28 (GMT)
committermarkt <markt>2006-07-09 06:51:28 (GMT)
commit7a79953f04cb236a2fa662d841eacf3b572eb505 (patch)
tree94726de8447e99835df6c52cbc4f47a4569125af /src
parent8a640f8d638d1f330f816a2ed00931ba2d01847d (diff)
downloadfluxbox-7a79953f04cb236a2fa662d841eacf3b572eb505.zip
fluxbox-7a79953f04cb236a2fa662d841eacf3b572eb505.tar.bz2
fix detach focus again 8)
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc3
-rw-r--r--src/Window.cc1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index c0d0706..a827f92 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1413,8 +1413,9 @@ FluxboxWindow *BScreen::createWindow(WinClient &client) {
1413 return 0; 1413 return 0;
1414 } 1414 }
1415 1415
1416 // can't setInputFocus yet and mapNotifyEvent doesn't happen for the client
1416 if (focusControl().focusNew() || FocusControl::focusedWindow() == &client) 1417 if (focusControl().focusNew() || FocusControl::focusedWindow() == &client)
1417 win->setInputFocus(); 1418 FocusControl::setFocusedWindow(&client);
1418 1419
1419 m_clientlist_sig.notify(); 1420 m_clientlist_sig.notify();
1420 1421
diff --git a/src/Window.cc b/src/Window.cc
index d9c273a..6310ce1 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -764,7 +764,6 @@ bool FluxboxWindow::detachClient(WinClient &client) {
764 // m_client must be valid as there should be at least one other window 764 // m_client must be valid as there should be at least one other window
765 // otherwise this wouldn't be here (refer numClients() <= 1 return) 765 // otherwise this wouldn't be here (refer numClients() <= 1 return)
766 client.setFluxboxWindow(screen().createWindow(client)); 766 client.setFluxboxWindow(screen().createWindow(client));
767 m_client->raise();
768 return true; 767 return true;
769} 768}
770 769