Commit 0c536779 authored by Jonas Ådahl's avatar Jonas Ådahl

wayland/pointer-constraints: Send wl_pointer.frame when locked

We were not sending wl_pointer.frame after
wp_relative_pointer.relative_motion. Fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=770994
parent 640178a9
......@@ -815,6 +815,7 @@ locked_pointer_grab_pointer_motion (MetaWaylandPointerGrab *grab,
const ClutterEvent *event)
{
meta_wayland_pointer_send_relative_motion (grab->pointer, event);
meta_wayland_pointer_broadcast_frame (grab->pointer);
}
static void
......
......@@ -244,7 +244,7 @@ meta_wayland_pointer_send_frame (MetaWaylandPointer *pointer,
wl_pointer_send_frame (resource);
}
static void
void
meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer)
{
struct wl_resource *resource;
......
......@@ -104,6 +104,8 @@ void meta_wayland_pointer_send_relative_motion (MetaWaylandPointer *pointer,
void meta_wayland_pointer_send_button (MetaWaylandPointer *pointer,
const ClutterEvent *event);
void meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer);
void meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
MetaWaylandSurface *surface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment