summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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