diff options
| author | Derek Foreman <derek.foreman@collabora.com> | 2021-08-24 17:08:51 -0500 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2021-11-02 11:27:51 +0000 |
| commit | ca893075ef75f2ad4688d8fc1dcc20260f91afe9 (patch) | |
| tree | c522cea50f269b83a4a0c88b1c617871c09f9220 /protocol | |
| parent | protocol: add wl_output.{name,description} (diff) | |
| download | wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar.gz wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar.bz2 wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar.lz wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar.xz wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.tar.zst wayland-ca893075ef75f2ad4688d8fc1dcc20260f91afe9.zip | |
debug: Fix printing of new ids
The client side closure traces have incorrect object ids for new server
generated objects. This is because create_proxies() overwrites the id in
'n' type arguments by storing a pointer to the actual object in the 'o'
field of the union.
Getting back to an id from this pointer requires accessing a structure
that isn't visible outside of wayland-client.c.
Add a function pointer to fish the correct value out of the argument and
pass it to wl_closure_print.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions
