GNOME Bugzilla – Bug 706124
MetaWaylandSeat: don't use use events to count pressed buttons
Last modified: 2013-09-09 16:00:40 UTC
Use the modifier mask instead, as events can get lost if there is a clutter grab or if some other actor is capturing events.
Created attachment 251822 [details] [review] MetaWaylandSeat: don't use use events to count pressed buttons
Is there a reason we need to have accurate button_count when processing motion or keyboard or focus change events?
It's used by default_grab_focus to emulate the implicit pointer grab (which is part of the wayland protocol)
Any update on this?
Review of attachment 251822 [details] [review]: Looks good. ::: src/wayland/meta-wayland-seat.c @@ +357,3 @@ } + /* FIXME: synth a XI2 event and handle in display.c */ Yes, if you implement this, you need to fix it :)
Attachment 251822 [details] pushed as 28708e4 - MetaWaylandSeat: don't use use events to count pressed buttons