diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2016-09-01 12:56:25 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2016-09-01 12:56:25 (GMT) |
commit | 812b81e33f1524497899bc7c49c965b638d6072e (patch) | |
tree | 38d1a81b4e39e696ab0bd6f2757dbf6023054eed | |
parent | a3713274a99ec9398da9c5f6cda99730ead59bbf (diff) | |
download | tk-812b81e33f1524497899bc7c49c965b638d6072e.zip tk-812b81e33f1524497899bc7c49c965b638d6072e.tar.gz tk-812b81e33f1524497899bc7c49c965b638d6072e.tar.bz2 |
don't forget to set the keycode ;-)
FossilOrigin-Name: 5dc350ba1e951e286abe298c1609e38f2d6b90b8
-rw-r--r-- | win/tkWinX.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index f4908e0..e8715b3 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -1225,6 +1225,7 @@ GenerateXEvent( event.xany.send_event = -3; event.xkey.nbytes = Tcl_UniCharToUtf(ch1, buffer); if ((ch1 <= 0xffff) || (event.xkey.nbytes == XMaxTransChars)) { + event.xkey.keycode = ch1; for (i=0; i<event.xkey.nbytes && i<XMaxTransChars; ++i) { event.xkey.trans_chars[i] = buffer[i]; } |