https://bugzilla.gnome.org/show_bug.cgi?id=765939
Carlos Garnacho <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #327235|none |reviewed
status| |
--- Comment #7 from Carlos Garnacho <[email protected]> ---
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._______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs