mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-19 06:59:51 -05:00
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.
This commit is contained in:
parent
201a904889
commit
715a081cf4
3 changed files with 55 additions and 31 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue