summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-17 22:13:06 +0000
committerDana Jansens <danakj@orodu.net>2003-03-17 22:13:06 +0000
commit8886f1109d4901bf4831939b732a943e6f5e83ec (patch)
tree07d829a6df09c3bc2b51af27dad6db97454500e2 /openbox
parentccc5f020514e9c3e0a2a8e858eacc6d0140675a3 (diff)
make sure theres always a client for client events
Diffstat (limited to 'openbox')
-rw-r--r--openbox/dispatch.c2
1 files changed, 2 insertions, 0 deletions
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;