Skip to content

GDK W32: send both smooth and discrete scrolling events (GTK4)

LRN requested to merge lrn/gtk:win32-scroll-both-gtk4 into master

Commit d64467b3 changed the code to send GDK_SCROLL_SMOOTH with deltas instead of GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Change it again, to send both the GDK_SCROLL_SMOOTH and the GDK_SCROLL_(UP|DOWN|LEFT|RIGHT) event separately (with the discrete event marked as emulated), as this is what other backends (such as wayland) do.

Merge request reports