diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-08 07:56:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-08 07:56:58 (GMT) |
commit | c768726a553d64659d450bdd89d46a22ed921403 (patch) | |
tree | 6957f3a17d7f62d0261409847c98242481ba0588 /win/tkWinX.c | |
parent | 3746f0070f5251728491df86b99ff93e7faba43f (diff) | |
parent | 071f2bfac168d05a072d652dd9bc6c616b108490 (diff) | |
download | tk-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.c | 6 |
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; |