[Wayland-bugs] [Bug 765939] [Wayland] very slow scrolling in GtkMenu using the touchpad
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 5 12:50:04 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765939
Carlos Garnacho <carlosg at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #327235|none |reviewed
status| |
--- Comment #7 from Carlos Garnacho <carlosg at gnome.org> ---
Comment on attachment 327235
--> https://bugzilla.gnome.org/attachment.cgi?id=327235
[PATCH 2/2] gtkmenu: ignore emulated scroll events
I think you could do with the if (!_gdk_event_get_pointer_emulated(...)) check
on the top of the function, we also want to avoid the case of x11 drivers
sending both 4-7 button and smooth scroll events with mouse wheels (in that
case the latter has the "emulated" flag)
Multiplying the smooth scroll value by MENU_SCROLL_STEP2 sounds alright, I'm
not sure I like much obeying delta_x though :). IMO it's better to obey only
the axis that matches visually when we know the device can do both, otherwise
scrolling along the right diagonal would/could make scrolling jump between
upwards and downwards.
--
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/20160505/582c27b0/attachment.html>
More information about the wayland-bugs
mailing list