diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 3 |
1 files changed, 2 insertions, 1 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 | ||