From 5ead593f27d2999d943001154c6833b5b2120e1d Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 18 Aug 2001 23:28:07 +0000 Subject: fixed transient crash --- src/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3