GdkWin32: Fix keyboard state for WinPointer input
authorLuca Bacci <luca.bacci982@gmail.com>
Wed, 21 Jun 2023 14:14:56 +0000 (16:14 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Wed, 21 Jun 2023 14:18:01 +0000 (16:18 +0200)
commit3912d6aba9245f632069fabf1e23cc470d857aa4
tree05d409dcea239c46ba67b97502fb0b7a3283f99d
parent871685e271760bf3468341fe6bde9fce8090483d
GdkWin32: Fix keyboard state for WinPointer input

The dwKeyStates field of the POINTER_INFO structure
is always set to 0, no matter what. Use GetKeyState
instead.

Forward-port of !4327 to GTK4
gdk/win32/gdkinput-winpointer.c