From: Dana Jansens Date: Mon, 17 Mar 2003 22:13:06 +0000 (+0000) Subject: make sure theres always a client for client events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8886f1109d4901bf4831939b732a943e6f5e83ec;p=chaz%2Fopenbox make sure theres always a client for client events --- 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;