diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:21:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:21:10 (GMT) |
commit | 4e389557600c1aa77d7991114d9e9fcc5ba24d46 (patch) | |
tree | 2885374f28652e990dc9d83c1ad73d7d3fc2f9c9 /win/tkWinKey.c | |
parent | b8b8de56e290dd3d82585190651360c843542e7b (diff) | |
parent | 8abb78aec188d72fbbd9bda28f1f9702ad3b60e5 (diff) | |
download | tk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.zip tk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.tar.gz tk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.tar.bz2 |
Merge 8.7
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r-- | win/tkWinKey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c index f2230c9..61cb06e 100644 --- a/win/tkWinKey.c +++ b/win/tkWinKey.c @@ -358,9 +358,9 @@ KeycodeToKeysym( */ case VK_CONTROL: - if (state & EXTENDED_MASK) { - return XK_Control_R; - } + if (state & EXTENDED_MASK) { + return XK_Control_R; + } break; case VK_SHIFT: if (GetKeyState(VK_RSHIFT) & 0x80) { @@ -368,9 +368,9 @@ KeycodeToKeysym( } break; case VK_MENU: - if (state & EXTENDED_MASK) { - return XK_Alt_R; - } + if (state & EXTENDED_MASK) { + return XK_Alt_R; + } break; } return keymap[keycode]; |