summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-09-04 18:46:23 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-09-04 18:46:23 (GMT)
commitbc21ab428d0c3384814b486290a3a89917519c42 (patch)
tree50e115ae56b2c3ecf43619ef8cfd226bea3bee84 /win/tkWinX.c
parenta288981499a40b3ee18dbe60a6c9209c0837d4f7 (diff)
parent571a9ffc9dec8cbd9963a3c826b1467dc3997b77 (diff)
downloadtk-bc21ab428d0c3384814b486290a3a89917519c42.zip
tk-bc21ab428d0c3384814b486290a3a89917519c42.tar.gz
tk-bc21ab428d0c3384814b486290a3a89917519c42.tar.bz2
Fixed [2945130fff] for the right Control and Alt keys. WONTFIX the case of the right Shift key due to Windows plaftorm limitation.
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 21c607c..1f9ad89 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -1321,11 +1321,7 @@ GetState(
state &= ~mask;
}
if (HIWORD(lParam) & KF_EXTENDED) {
- if (message == WM_SYSKEYDOWN || message == WM_KEYDOWN) {
- state |= EXTENDED_MASK;
- } else {
- state &= ~EXTENDED_MASK;
- }
+ state |= EXTENDED_MASK;
}
}
return state;