diff options
author | markt <markt> | 2006-07-09 06:51:28 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-09 06:51:28 (GMT) |
commit | 7a79953f04cb236a2fa662d841eacf3b572eb505 (patch) | |
tree | 94726de8447e99835df6c52cbc4f47a4569125af /src | |
parent | 8a640f8d638d1f330f816a2ed00931ba2d01847d (diff) | |
download | fluxbox_lack-7a79953f04cb236a2fa662d841eacf3b572eb505.zip fluxbox_lack-7a79953f04cb236a2fa662d841eacf3b572eb505.tar.bz2 |
fix detach focus again 8)
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 3 | ||||
-rw-r--r-- | src/Window.cc | 1 |
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 | ||