mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-13 04:28:02 -05:00
Client message observers 6/6 When the client code receives an event message for an unknown (or zombie) object, the code was logging a message only to stderr, and only if debug_client was set. Introduce a helper function to create some temporary wl_closure and related structures so that the unknown message can be sent out using the new client observer API. This allows the client implementation to potentially log it somewhere more useful than to just stderr, and it can register an observer at any time too. Note that the message that is logged is now structured slightly differently, though it contains the same content. Signed-off-by: Lloyd Pique <lpique@google.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| connection.c | ||
| embed.py | ||
| event-loop.c | ||
| meson.build | ||
| scanner.c | ||
| wayland-client-core.h | ||
| wayland-client.c | ||
| wayland-client.h | ||
| wayland-os.c | ||
| wayland-os.h | ||
| wayland-private.h | ||
| wayland-server-core.h | ||
| wayland-server-private.h | ||
| wayland-server.c | ||
| wayland-server.h | ||
| wayland-shm.c | ||
| wayland-util.c | ||
| wayland-util.h | ||
| wayland-version.h.in | ||