diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2014-10-04 16:28:29 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2015-11-02 14:30:16 +0800 |
commit | 0336ca0cc5542a0d65f0f278f89e8d926a720a29 (patch) | |
tree | 23881f60288f64ae677b3c9f99c8bd78759a6ff8 /desktop-shell/exposay.c | |
parent | 22faea11c8745c46c043a268eec3073b0922ccd0 (diff) |
input: Pass axis events through pointer grab interfaces
Don't only send motions and buttons but also axis events through the
pointer grab interface.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'desktop-shell/exposay.c')
-rw-r--r-- | desktop-shell/exposay.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-shell/exposay.c b/desktop-shell/exposay.c index 08b86a3e..eb4070e2 100644 --- a/desktop-shell/exposay.c +++ b/desktop-shell/exposay.c @@ -386,6 +386,12 @@ exposay_button(struct weston_pointer_grab *grab, uint32_t time, uint32_t button, } static void +exposay_axis(struct weston_pointer_grab *grab, + uint32_t time, uint32_t axis, wl_fixed_t value) +{ +} + +static void exposay_pointer_grab_cancel(struct weston_pointer_grab *grab) { struct desktop_shell *shell = @@ -398,6 +404,7 @@ static const struct weston_pointer_grab_interface exposay_ptr_grab = { exposay_focus, exposay_motion, exposay_button, + exposay_axis, exposay_pointer_grab_cancel, }; |