summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-02-03 20:22:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-02-03 20:22:37 (GMT)
commit228592d3a38bda625005511c4d0ecb8d1925f65a (patch)
treea1f363ebdaa2961e2c47c54ba763019d18f63ef6 /win
parent1bbdbf82b537949c471178d2e4656374ef32fbbe (diff)
downloadtk-228592d3a38bda625005511c4d0ecb8d1925f65a.zip
tk-228592d3a38bda625005511c4d0ecb8d1925f65a.tar.gz
tk-228592d3a38bda625005511c4d0ecb8d1925f65a.tar.bz2
Propagate the call to TkpInitKeymapInfo in TkpOpenDisplay from Linux to Windows.
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;
}