fix detach focus again 8)
This commit is contained in:
parent
8a640f8d63
commit
7a79953f04
2 changed files with 2 additions and 2 deletions
|
@ -1413,8 +1413,9 @@ FluxboxWindow *BScreen::createWindow(WinClient &client) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// can't setInputFocus yet and mapNotifyEvent doesn't happen for the client
|
||||
if (focusControl().focusNew() || FocusControl::focusedWindow() == &client)
|
||||
win->setInputFocus();
|
||||
FocusControl::setFocusedWindow(&client);
|
||||
|
||||
m_clientlist_sig.notify();
|
||||
|
||||
|
|
|
@ -764,7 +764,6 @@ bool FluxboxWindow::detachClient(WinClient &client) {
|
|||
// m_client must be valid as there should be at least one other window
|
||||
// otherwise this wouldn't be here (refer numClients() <= 1 return)
|
||||
client.setFluxboxWindow(screen().createWindow(client));
|
||||
m_client->raise();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue