make sure theres always a client for client events
This commit is contained in:
parent
ccc5f02051
commit
8886f1109d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue