Always consume message, even if no proxy was found
Doh.
This commit is contained in:
parent
225a176882
commit
ef613fbf83
@ -347,17 +347,15 @@ handle_event(struct wl_display *display,
|
|||||||
else
|
else
|
||||||
proxy = wl_hash_table_lookup(display->objects, id);
|
proxy = wl_hash_table_lookup(display->objects, id);
|
||||||
|
|
||||||
if (proxy == NULL)
|
if (proxy != NULL)
|
||||||
return;
|
wl_list_for_each(listener, &proxy->listener_list, link)
|
||||||
|
wl_connection_demarshal(display->connection,
|
||||||
wl_list_for_each(listener, &proxy->listener_list, link)
|
size,
|
||||||
wl_connection_demarshal(display->connection,
|
display->objects,
|
||||||
size,
|
listener->implementation[opcode],
|
||||||
display->objects,
|
listener->data,
|
||||||
listener->implementation[opcode],
|
&proxy->base,
|
||||||
listener->data,
|
&proxy->base.interface->events[opcode]);
|
||||||
&proxy->base,
|
|
||||||
&proxy->base.interface->events[opcode]);
|
|
||||||
|
|
||||||
wl_connection_consume(display->connection, size);
|
wl_connection_consume(display->connection, size);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user