summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-08 07:56:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-08 07:56:58 (GMT)
commitc768726a553d64659d450bdd89d46a22ed921403 (patch)
tree6957f3a17d7f62d0261409847c98242481ba0588 /win/tkWinX.c
parent3746f0070f5251728491df86b99ff93e7faba43f (diff)
parent071f2bfac168d05a072d652dd9bc6c616b108490 (diff)
downloadtk-c768726a553d64659d450bdd89d46a22ed921403.zip
tk-c768726a553d64659d450bdd89d46a22ed921403.tar.gz
tk-c768726a553d64659d450bdd89d46a22ed921403.tar.bz2
merge core-8-6-branch
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 1e66620..bb60a2d 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -1343,11 +1343,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;