diff options
author | markt <markt> | 2006-06-25 06:18:41 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-25 06:18:41 (GMT) |
commit | 87e401edf6146e4205bdfc807651a7d627a323db (patch) | |
tree | e16bb9c4e29204a7ef01dbf53d7b14e4d7494748 | |
parent | a23ad6719725a0290d01ac4bba0ce1905b2069d7 (diff) | |
download | fluxbox-87e401edf6146e4205bdfc807651a7d627a323db.zip fluxbox-87e401edf6146e4205bdfc807651a7d627a323db.tar.bz2 |
Fix DetachClient key command so new window is visible
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Window.cc | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc2: | 2 | Changes for 1.0rc2: |
3 | *06/06/25: | ||
4 | * Fix DetachClient key command so new window is visible (Mark) | ||
5 | Window.cc | ||
3 | *06/06/24: | 6 | *06/06/24: |
4 | * Make Urgency Hint flash the correct tab in a group (Mark) | 7 | * Make Urgency Hint flash the correct tab in a group (Mark) |
5 | Ewmh.cc Window.cc/hh WinClient.cc/hh FbWinFrame.cc/hh IconbarTool.cc | 8 | 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() { | |||
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 |