From 87e401edf6146e4205bdfc807651a7d627a323db Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 25 Jun 2006 06:18:41 +0000 Subject: Fix DetachClient key command so new window is visible --- ChangeLog | 3 +++ src/Window.cc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 74f46ab..2723d3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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() { // 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 -- cgit v0.11.2