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
This commit is contained in:
parent
640178a94f
commit
0c53677992
@ -815,6 +815,7 @@ locked_pointer_grab_pointer_motion (MetaWaylandPointerGrab *grab,
|
|||||||
const ClutterEvent *event)
|
const ClutterEvent *event)
|
||||||
{
|
{
|
||||||
meta_wayland_pointer_send_relative_motion (grab->pointer, event);
|
meta_wayland_pointer_send_relative_motion (grab->pointer, event);
|
||||||
|
meta_wayland_pointer_broadcast_frame (grab->pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -244,7 +244,7 @@ meta_wayland_pointer_send_frame (MetaWaylandPointer *pointer,
|
|||||||
wl_pointer_send_frame (resource);
|
wl_pointer_send_frame (resource);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer)
|
meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer)
|
||||||
{
|
{
|
||||||
struct wl_resource *resource;
|
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,
|
void meta_wayland_pointer_send_button (MetaWaylandPointer *pointer,
|
||||||
const ClutterEvent *event);
|
const ClutterEvent *event);
|
||||||
|
|
||||||
|
void meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer);
|
||||||
|
|
||||||
void meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
void meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
||||||
MetaWaylandSurface *surface);
|
MetaWaylandSurface *surface);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user