summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-08-18 23:28:07 +0000
committersabetts <sabetts>2001-08-18 23:28:07 +0000
commit5ead593f27d2999d943001154c6833b5b2120e1d (patch)
treebbbdf9953bd8e38552d65c4995ecfcab61e2ccd5
parent0a1a6fbcfddf9f4857b1c95f32321bbd27968cea (diff)
downloadratpoison-5ead593f27d2999d943001154c6833b5b2120e1d.zip
fixed transient crash
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 348b1a1..6c2bd36 100644
--- a/src/list.c
+++ b/src/list.c
@@ -492,7 +492,7 @@ is_transient_ancestor (rp_window *win, rp_window *transient_for)
tmp = find_window (tmp->transient_for);
if (tmp == transient_for)
return 1;
- } while (tmp->transient);
+ } while (tmp && tmp->transient);
return 0;
}