mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -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
|
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…
Add table
Add a link
Reference in a new issue