summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-29 19:58:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-29 19:58:11 (GMT)
commit8d6184fb635d65ffb5cc86154a52e4ef8bdd528b (patch)
treedfbc5705aba28a2383e058afcaa24d1a045fd8e1 /win
parent82357f3faeb159ca4a2784983f0a83998a546d02 (diff)
parenta88925e14d0096bf75e3338b939fdf6ec49c72b5 (diff)
downloadtk-8d6184fb635d65ffb5cc86154a52e4ef8bdd528b.zip
tk-8d6184fb635d65ffb5cc86154a52e4ef8bdd528b.tar.gz
tk-8d6184fb635d65ffb5cc86154a52e4ef8bdd528b.tar.bz2
Merge 8.6
Diffstat (limited to 'win')
-rw-r--r--win/tkWinX.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 34633a6..3ba341d 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -567,6 +567,11 @@ TkpOpenDisplay(
tsdPtr->wheelTickPrev = GetTickCount();
tsdPtr->wheelAcc = 0;
+ /*
+ * Key map info must be available immediately, because of "send event".
+ */
+ TkpInitKeymapInfo(tsdPtr->winDisplay);
+
return tsdPtr->winDisplay;
}