GNOME Bugzilla – Bug 770994
wayland/pointer-constraints: Send wl_pointer.frame when locked
Last modified: 2016-09-09 03:11:12 UTC
We didn't send wl_pointer.frame when we should. The attached patch fixes that.
Created attachment 334965 [details] [review] wayland/pointer-constraints: Send wl_pointer.frame when locked We were not sending wl_pointer.frame after wp_relative_pointer.relative_motion. Fix that.
Review of attachment 334965 [details] [review]: I suppose you don't want to put the broadcast_frame() call in meta_wayland_pointer_send_relative_motion() to avoid having two frame events in a row from meta_wayland_pointer_send_motion() ? Anyway, there are no other callers, so looks good
(In reply to Rui Matos from comment #2) > Review of attachment 334965 [details] [review] [review]: > > I suppose you don't want to put the broadcast_frame() call in > meta_wayland_pointer_send_relative_motion() to avoid having two frame events > in a row from meta_wayland_pointer_send_motion() ? Exactly. > > Anyway, there are no other callers, so looks good Thanks!
Attachment 334965 [details] pushed as 0c53677 - wayland/pointer-constraints: Send wl_pointer.frame when locked