mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Always consume message, even if no proxy was found
Doh.
This commit is contained in:
parent
225a176882
commit
ef613fbf83
1 changed files with 9 additions and 11 deletions
|
|
@ -347,17 +347,15 @@ handle_event(struct wl_display *display,
|
|||
else
|
||||
proxy = wl_hash_table_lookup(display->objects, id);
|
||||
|
||||
if (proxy == NULL)
|
||||
return;
|
||||
|
||||
wl_list_for_each(listener, &proxy->listener_list, link)
|
||||
wl_connection_demarshal(display->connection,
|
||||
size,
|
||||
display->objects,
|
||||
listener->implementation[opcode],
|
||||
listener->data,
|
||||
&proxy->base,
|
||||
&proxy->base.interface->events[opcode]);
|
||||
if (proxy != NULL)
|
||||
wl_list_for_each(listener, &proxy->listener_list, link)
|
||||
wl_connection_demarshal(display->connection,
|
||||
size,
|
||||
display->objects,
|
||||
listener->implementation[opcode],
|
||||
listener->data,
|
||||
&proxy->base,
|
||||
&proxy->base.interface->events[opcode]);
|
||||
|
||||
wl_connection_consume(display->connection, size);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue