gdkkeys-win32: Ignore CTRL bit for key translation
authorPhilip Zander <philip.zander@gmail.com>
Sat, 29 Jan 2022 21:36:40 +0000 (22:36 +0100)
committerLuca Bacci <luca.bacci982@gmail.com>
Tue, 1 Feb 2022 13:12:56 +0000 (14:12 +0100)
commit90ab8b8dd3133fdc29988979b96408867237ad3b
treefb8939763a4c0b56570e3574dcc0e12bbb9800cc
parentd033a099ae01efd0c339423b375a55eb867a0b22
gdkkeys-win32: Ignore CTRL bit for key translation

Some keymaps on Windows contain bogus mappings for Ctrl+key for certain
keys, e.g. Ctrl+Backspace = Delete, or Ctrl+[ = 0x1B. These are never
used on Windows, so we should ignore them.

Fixes #4667
gdk/win32/gdkkeys-win32-impl.c