]> Dogcows Code - chaz/openbox/commitdiff
make sure theres always a client for client events
authorDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 22:13:06 +0000 (22:13 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Mar 2003 22:13:06 +0000 (22:13 +0000)
openbox/dispatch.c

index f65a723afdbda38d0538ab42bd97fcc7dada436a..c1c9f783f3eedddd334b7e0ff6491bd1ce7843f6 100644 (file)
@@ -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;
 
This page took 0.023856 seconds and 4 git commands to generate.