mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
connection: Set closure->start in demarshal too
This commit is contained in:
parent
46f9745c10
commit
8dc57f4dda
1 changed files with 1 additions and 0 deletions
|
|
@ -598,6 +598,7 @@ wl_connection_demarshal(struct wl_connection *connection,
|
||||||
closure->message = message;
|
closure->message = message;
|
||||||
closure->types[0] = &ffi_type_pointer;
|
closure->types[0] = &ffi_type_pointer;
|
||||||
closure->types[1] = &ffi_type_pointer;
|
closure->types[1] = &ffi_type_pointer;
|
||||||
|
closure->start = closure->buffer;
|
||||||
|
|
||||||
wl_connection_copy(connection, closure->buffer, size);
|
wl_connection_copy(connection, closure->buffer, size);
|
||||||
p = &closure->buffer[2];
|
p = &closure->buffer[2];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue