GdkWin32: Send smooth scroll events
authorLuca Bacci <luca.bacci982@gmail.com>
Tue, 12 Apr 2022 09:00:03 +0000 (11:00 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Fri, 6 May 2022 13:01:59 +0000 (15:01 +0200)
commit66a0e0a59e46986b8b11d36c94b8397aa68bf2a6
tree21be1e4dffaa09f59253b6df51fa7662f480e486
parentb74aec360602c52a5cc41175d322df5f971f9d4c
GdkWin32: Send smooth scroll events

Bring back smooth scroll events as the issues mentioned
in [1] do not occur anymore. Also rework code style and
comments.

References:

  [1] GTK4: Scrolling hides mouse on windows
      https://gitlab.gnome.org/GNOME/gtk/-/issues/3581

  [2] Why are mouse wheel messages delivered to the focus window
      instead of the window under the mouse?
      https://devblogs.microsoft.com/oldnewthing/20160420-00/?p=93325
gdk/win32/gdkevents-win32.c