summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-29 19:57:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-29 19:57:06 (GMT)
commita88925e14d0096bf75e3338b939fdf6ec49c72b5 (patch)
treef67040f9e7067b3e854d9921677e2a4bbdf887f1 /win/tkWinX.c
parent2cf5a82a75201dd866c90d3add0462c19854d88f (diff)
downloadtk-a88925e14d0096bf75e3338b939fdf6ec49c72b5.zip
tk-a88925e14d0096bf75e3338b939fdf6ec49c72b5.tar.gz
tk-a88925e14d0096bf75e3338b939fdf6ec49c72b5.tar.bz2
Add calls to TkpInitKeymapInfo() during initialization. Taken from extended bind patch.
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index ec1fef3..3737345 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -613,6 +613,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;
}