diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-10 00:24:18 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-10 00:24:18 -0500 |
commit | eac149ad067370e1234740b9ee41dd29c77d1cc0 (patch) | |
tree | 6ecb111a0d3df1cd28f8e258053ec3a92213c592 /wayland.h | |
parent | 98fed0fb8477b68e7200aaa4e5959adb57065c66 (diff) | |
download | wayland-eac149ad067370e1234740b9ee41dd29c77d1cc0.tar.gz wayland-eac149ad067370e1234740b9ee41dd29c77d1cc0.tar.xz wayland-eac149ad067370e1234740b9ee41dd29c77d1cc0.zip |
Pass button clicks through to compositor.
This lets us handle raising windows, which is useful.
Diffstat (limited to 'wayland.h')
-rw-r--r-- | wayland.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -142,6 +142,8 @@ wl_display_post_key_event(struct wl_display *display, void wl_display_post_frame(struct wl_display *display, uint32_t frame, uint32_t msecs); +void +wl_display_raise_surface(struct wl_display *display, struct wl_surface *surface); struct wl_compositor { const struct wl_compositor_interface *interface; @@ -174,6 +176,9 @@ struct wl_compositor_interface { void (*notify_pointer_motion)(struct wl_compositor *compositor, struct wl_object *source, int32_t x, int32_t y); + void (*notify_pointer_button)(struct wl_compositor *compositor, + struct wl_object *source, + int32_t button, int32_t state); void (*notify_key)(struct wl_compositor *compositor, struct wl_object *source, uint32_t key, uint32_t state); |