aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-25 06:18:41 (GMT)
committermarkt <markt>2006-06-25 06:18:41 (GMT)
commit87e401edf6146e4205bdfc807651a7d627a323db (patch)
treee16bb9c4e29204a7ef01dbf53d7b14e4d7494748 /src/Window.cc
parenta23ad6719725a0290d01ac4bba0ce1905b2069d7 (diff)
downloadfluxbox-87e401edf6146e4205bdfc807651a7d627a323db.zip
fluxbox-87e401edf6146e4205bdfc807651a7d627a323db.tar.bz2
Fix DetachClient key command so new window is visible
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 145dc8e..2ac6a01 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -773,7 +773,10 @@ void FluxboxWindow::detachCurrentClient() {
773 // should only operate if we had more than one client 773 // should only operate if we had more than one client
774 if (numClients() <= 1) 774 if (numClients() <= 1)
775 return; 775 return;
776 WinClient &client = *m_client;
776 detachClient(*m_client); 777 detachClient(*m_client);
778 if (client.fbwindow() != 0)
779 client.fbwindow()->show();
777} 780}
778 781
779/// removes client from client list, does not create new fluxboxwindow for it 782/// removes client from client list, does not create new fluxboxwindow for it