summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
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 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;
}