aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index bded700..aa8c6ed 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -126,7 +126,6 @@ WinClient::~WinClient() {
126 transient_for->transientList().remove(this); 126 transient_for->transientList().remove(this);
127 if (m_modal) 127 if (m_modal)
128 transient_for->removeModal(); 128 transient_for->removeModal();
129 transient_for = 0;
130 } 129 }
131 130
132 while (!transients.empty()) { 131 while (!transients.empty()) {
@@ -141,13 +140,13 @@ WinClient::~WinClient() {
141 // this takes care of any focus issues 140 // this takes care of any focus issues
142 m_diesig.notify(); 141 m_diesig.notify();
143 142
144 Fluxbox *fluxbox = Fluxbox::instance();
145
146 // This fixes issue 1 (see WinClient.hh): 143 // This fixes issue 1 (see WinClient.hh):
147 // If transients die before the transient_for is created 144 // If transients die before the transient_for is created
145 transient_for = 0;
148 removeTransientFromWaitingList(); 146 removeTransientFromWaitingList();
149 s_transient_wait.erase(window()); 147 s_transient_wait.erase(window());
150 148
149 Fluxbox *fluxbox = Fluxbox::instance();
151 150
152 if (window_group != 0) { 151 if (window_group != 0) {
153 fluxbox->removeGroupSearch(window_group); 152 fluxbox->removeGroupSearch(window_group);