Fix DetachClient key command so new window is visible

This commit is contained in:
markt 2006-06-25 06:18:41 +00:00
parent a23ad67197
commit 87e401edf6
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 1.0rc2:
*06/06/25:
* Fix DetachClient key command so new window is visible (Mark)
Window.cc
*06/06/24:
* Make Urgency Hint flash the correct tab in a group (Mark)
Ewmh.cc Window.cc/hh WinClient.cc/hh FbWinFrame.cc/hh IconbarTool.cc

View file

@ -773,7 +773,10 @@ void FluxboxWindow::detachCurrentClient() {
// should only operate if we had more than one client
if (numClients() <= 1)
return;
WinClient &client = *m_client;
detachClient(*m_client);
if (client.fbwindow() != 0)
client.fbwindow()->show();
}
/// removes client from client list, does not create new fluxboxwindow for it