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 /unix/tkUnixEvent.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 'unix/tkUnixEvent.c')
-rw-r--r-- | unix/tkUnixEvent.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c index 111d430..cde3791 100644 --- a/unix/tkUnixEvent.c +++ b/unix/tkUnixEvent.c @@ -186,6 +186,12 @@ TkpOpenDisplay( #endif Tcl_CreateFileHandler(ConnectionNumber(display), TCL_READABLE, DisplayFileProc, dispPtr); + + /* + * Key map info must be available immediately, because of "send event". + */ + TkpInitKeymapInfo(dispPtr); + return dispPtr; } |