summaryrefslogtreecommitdiffstats
path: root/win/tkWinKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-17 13:21:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-17 13:21:10 (GMT)
commit4e389557600c1aa77d7991114d9e9fcc5ba24d46 (patch)
tree2885374f28652e990dc9d83c1ad73d7d3fc2f9c9 /win/tkWinKey.c
parentb8b8de56e290dd3d82585190651360c843542e7b (diff)
parent8abb78aec188d72fbbd9bda28f1f9702ad3b60e5 (diff)
downloadtk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.zip
tk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.tar.gz
tk-4e389557600c1aa77d7991114d9e9fcc5ba24d46.tar.bz2
Merge 8.7
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r--win/tkWinKey.c12
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];