diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-12-10 10:42:04 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-12-10 10:42:04 -0500 |
commit | 715a081cf48b1d448cf2535309b7727f4b868308 (patch) | |
tree | bff3c0fa738173f1f748c9f398c855021db87665 /wayland.h | |
parent | 201a904889a4c12e9961df7967ce4ee21b52bf5a (diff) | |
download | wayland-715a081cf48b1d448cf2535309b7727f4b868308.tar.gz wayland-715a081cf48b1d448cf2535309b7727f4b868308.tar.xz wayland-715a081cf48b1d448cf2535309b7727f4b868308.zip |
Feed motion events through compositor.
This lets us pass events only to the window that we're mousing over
and we can now transform input events back to the window coordinate space.
Diffstat (limited to 'wayland.h')
-rw-r--r-- | wayland.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -135,6 +135,11 @@ 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_post_surface_motion(struct wl_display *display, + struct wl_surface *surface, + struct wl_object *source, + int x, int y, int sx, int sy); struct wl_compositor { const struct wl_compositor_interface *interface; |