[Wayland-bugs] [Bug 764519] Two finger tap on title bars non-functional on GTK3 apps and wayland
mutter (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 4 15:37:59 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764519
Carlos Garnacho <carlosg at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlosg at gnome.org
Component|Backend: Wayland |wayland
Assignee|gtk-bugs at gtk.org |mutter-maint at gnome.bugs
Product|gtk+ |mutter
QA Contact|gtk-bugs at gtk.org |mutter-maint at gnome.bugs
--- Comment #2 from Carlos Garnacho <carlosg at gnome.org> ---
I can reproduce with touchpad. AFAICS this was originally introduced by the
patch in https://bugzilla.gnome.org/show_bug.cgi?id=731237#c11 .
What happens here is that libinput will transform the 2 finger tap in two
consecutive press+release events. Those are handled almost at once in
clutter/mutter, so when the client has the opportunity to request
xdg_surface.show_window_menu, the button count will again/already be 0, so the
request is ignored.
The check for buttons being pressed makes sense for drags/resizes, not as much
for this "show menu" case, probably should be taken out of
meta_wayland_pointer_can_grab_surface() checks and into the interested callers.
Moving to mutter.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160404/754e9495/attachment.html>
More information about the wayland-bugs
mailing list