diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-24 19:30:25 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-24 19:31:58 -0500 |
commit | b3131d9268ce68062c7410a9b672539026000f75 (patch) | |
tree | 0c30552c5e3c993bac31b21c31a5a08465377713 /wayland-system-compositor.c | |
parent | fabd4395ba309850403f94a459c3a7298351dd0a (diff) | |
download | wayland-b3131d9268ce68062c7410a9b672539026000f75.tar.gz wayland-b3131d9268ce68062c7410a9b672539026000f75.tar.xz wayland-b3131d9268ce68062c7410a9b672539026000f75.zip |
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.
Diffstat (limited to 'wayland-system-compositor.c')
-rw-r--r-- | wayland-system-compositor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland-system-compositor.c b/wayland-system-compositor.c index 77c6bfe..09daebf 100644 --- a/wayland-system-compositor.c +++ b/wayland-system-compositor.c @@ -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 = |