diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-29 19:57:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-29 19:57:06 (GMT) |
commit | a88925e14d0096bf75e3338b939fdf6ec49c72b5 (patch) | |
tree | f67040f9e7067b3e854d9921677e2a4bbdf887f1 /win/tkWinX.c | |
parent | 2cf5a82a75201dd866c90d3add0462c19854d88f (diff) | |
download | tk-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.c | 5 |
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; } |