diff options
author | markt <markt> | 2007-07-01 17:59:57 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-01 17:59:57 (GMT) |
commit | 7783a8c84e57c4a58d270b9722800a031f50ed62 (patch) | |
tree | 2c6f8f4ff4aede78907466a6b15bfd25fdd3600c /src/WinClient.cc | |
parent | 61b757d872778131aa773aadc9c59fdfb3fe2238 (diff) | |
download | fluxbox_pavel-7783a8c84e57c4a58d270b9722800a031f50ed62.zip fluxbox_pavel-7783a8c84e57c4a58d270b9722800a031f50ed62.tar.bz2 |
more fixes for _NET_WM_STATE_MODAL and _NET_WM_STATE_DEMANDS_ATTENTION
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index fd1944b..d4e3e72 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -129,14 +129,6 @@ WinClient::~WinClient() { | |||
129 | 129 | ||
130 | clearStrut(); | 130 | clearStrut(); |
131 | 131 | ||
132 | if (m_win != 0) | ||
133 | m_win->removeClient(*this); | ||
134 | |||
135 | // this takes care of any focus issues | ||
136 | m_diesig.notify(); | ||
137 | |||
138 | Fluxbox *fluxbox = Fluxbox::instance(); | ||
139 | |||
140 | // | 132 | // |
141 | // clear transients and transient_for | 133 | // clear transients and transient_for |
142 | // | 134 | // |
@@ -152,6 +144,15 @@ WinClient::~WinClient() { | |||
152 | transients.back()->transient_for = 0; | 144 | transients.back()->transient_for = 0; |
153 | transients.pop_back(); | 145 | transients.pop_back(); |
154 | } | 146 | } |
147 | |||
148 | if (m_win != 0) | ||
149 | m_win->removeClient(*this); | ||
150 | |||
151 | // this takes care of any focus issues | ||
152 | m_diesig.notify(); | ||
153 | |||
154 | Fluxbox *fluxbox = Fluxbox::instance(); | ||
155 | |||
155 | // This fixes issue 1 (see WinClient.hh): | 156 | // This fixes issue 1 (see WinClient.hh): |
156 | // If transients die before the transient_for is created | 157 | // If transients die before the transient_for is created |
157 | removeTransientFromWaitingList(); | 158 | removeTransientFromWaitingList(); |