From 8886f1109d4901bf4831939b732a943e6f5e83ec Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Mar 2003 22:13:06 +0000 Subject: [PATCH] make sure theres always a client for client events --- openbox/dispatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/dispatch.c b/openbox/dispatch.c index f65a723a..c1c9f783 100644 --- a/openbox/dispatch.c +++ b/openbox/dispatch.c @@ -111,6 +111,8 @@ void dispatch_client(EventType e, Client *c) GSList *it; ObEvent obe; + g_assert(c != NULL); + obe.type = e; obe.data.client = c; -- 2.39.2