Skip to content

Gdk4/Win32: Correct calls to gdk_key_event_new()

Matt Jakeman requested to merge firox263/gtk:fix/keyboard-input into master

Hi,

I stumbled across this issue while trying out the latest master branch on Windows.

It turns out the keycode and state (modifier) parameters to gdk_key_event_new() are in the wrong order in the Gdk/Win32 backend, which causes key events to be populated incorrectly on Windows (i.e. keyboard input is mostly garbled).

Edited by Matt Jakeman

Merge request reports