summaryrefslogtreecommitdiffstats
path: root/wayland.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-10 10:42:04 -0500
committerKristian Høgsberg <krh@redhat.com>2008-12-10 10:42:04 -0500
commit715a081cf48b1d448cf2535309b7727f4b868308 (patch)
treebff3c0fa738173f1f748c9f398c855021db87665 /wayland.h
parent201a904889a4c12e9961df7967ce4ee21b52bf5a (diff)
downloadwayland-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index c9ff589..1f338af 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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;