aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WinClient.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index 450a041..68e5600 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -325,10 +325,8 @@ void WinClient::updateTransientInfo() {
325#endif // DEBUG 325#endif // DEBUG
326 // make sure we don't have deadlock loop in transient chain 326 // make sure we don't have deadlock loop in transient chain
327 for (WinClient *w = this; w != 0; w = w->transient_for) { 327 for (WinClient *w = this; w != 0; w = w->transient_for) {
328 if (w == w->transient_for) { 328 if (this == w->transient_for)
329 w->transient_for = 0; 329 w->transient_for = 0;
330 break;
331 }
332 } 330 }
333 331
334 if (transientFor() != 0) { 332 if (transientFor() != 0) {