diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-11-25 22:40:39 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-11-25 22:40:39 -0500 |
commit | 4097923a644688e0a7bfffbe76c2e8af098e26e5 (patch) | |
tree | 2635582c95d8102130ff4dfea27bdec58f4f4a70 /wayland-client.h | |
parent | 961a04cef08f6475ec82df5608b28a470832b096 (diff) | |
download | wayland-4097923a644688e0a7bfffbe76c2e8af098e26e5.tar.gz wayland-4097923a644688e0a7bfffbe76c2e8af098e26e5.tar.xz wayland-4097923a644688e0a7bfffbe76c2e8af098e26e5.zip |
Add commit request + ack event to wayland core.
Use in window.c to manage life cycle of buffer correctly.
Diffstat (limited to 'wayland-client.h')
-rw-r--r-- | wayland-client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wayland-client.h b/wayland-client.h index 05f19b0..7bafd56 100644 --- a/wayland-client.h +++ b/wayland-client.h @@ -24,8 +24,10 @@ int wl_display_get_fd(struct wl_display *display, void wl_display_iterate(struct wl_display *display, uint32_t mask); typedef void (*wl_display_event_func_t)(struct wl_display *display, + uint32_t object, uint32_t opcode, - uint32_t arg1, uint32_t arg2, + uint32_t size, + uint32_t *p, void *data); void wl_display_set_event_handler(struct wl_display *display, @@ -34,6 +36,8 @@ void wl_display_set_event_handler(struct wl_display *display, struct wl_surface * wl_display_create_surface(struct wl_display *display); +void +wl_display_commit(struct wl_display *display, uint32_t key); void wl_surface_destroy(struct wl_surface *surface); void wl_surface_attach(struct wl_surface *surface, |