Clients that implement version 5 of pointer wait for the frame
after pointer events (e. g. GTK+ clients). We send it after motion
and button, but not after the axis event in default grab.

Send the frame after the axis event, but only in the default grab,
so that some other grabs (implementing kinetic scrolling or so)
can decide when to send the frame itself

Signed-off-by: Marek Chalupa <[email protected]>
---
 src/input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input.c b/src/input.c
index 2539fa7..32ad20a 100644
--- a/src/input.c
+++ b/src/input.c
@@ -404,6 +404,7 @@ default_grab_pointer_axis(struct weston_pointer_grab *grab,
                          struct weston_pointer_axis_event *event)
 {
        weston_pointer_send_axis(grab->pointer, time, event);
+       weston_pointer_send_frame(grab->pointer);
 }
 
 static void
-- 
2.5.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to