mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add client side demarshalling for events.
This also consolidates the marshalling code in connection.c and uses the same functions in the server and client for marshalling.
This commit is contained in:
parent
fabd4395ba
commit
b3131d9268
7 changed files with 321 additions and 311 deletions
|
|
@ -702,7 +702,9 @@ create_input_device(struct egl_compositor *ec, const char *glob)
|
|||
|
||||
memset(device, 0, sizeof *device);
|
||||
device->base.interface = &wl_input_device_interface;
|
||||
device->base.implementation = NULL;
|
||||
wl_display_add_object(ec->wl_display, &device->base);
|
||||
wl_display_add_global(ec->wl_display, &device->base, NULL);
|
||||
device->x = 100;
|
||||
device->y = 100;
|
||||
device->pointer_surface =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue