diff options
| author | Simon Ser <contact@emersion.fr> | 2020-05-28 23:47:29 +0200 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2021-07-31 16:54:57 +0000 |
| commit | 2aa0a83d36963c88ae98613b5b6120759cd50f8d (patch) | |
| tree | 6aea125d84ad23fe22242c942482b101195050d0 /src/connection.c | |
| parent | connection, client: Avoid locale-dependent float printing (diff) | |
| download | wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar.gz wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar.bz2 wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar.lz wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar.xz wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.tar.zst wayland-2aa0a83d36963c88ae98613b5b6120759cd50f8d.zip | |
connection: print array size
This makes it easier to understand how an xdg_toplevel is configured for
instance.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'src/connection.c')
| -rw-r--r-- | src/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c index fc2c7c2..1210772 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1332,7 +1332,7 @@ wl_closure_print(struct wl_closure *closure, struct wl_object *target, fprintf(stderr, "nil"); break; case 'a': - fprintf(stderr, "array"); + fprintf(stderr, "array[%zu]", closure->args[i].a->size); break; case 'h': fprintf(stderr, "fd %d", closure->args[i].h); |
