summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2011-10-01 19:14:15 (GMT)
committerKevin B Kenny <kennykb@acm.org>2011-10-01 19:14:15 (GMT)
commitb7d0d319e0ea7c6b85ca3d5d7b9f22a6a129d82f (patch)
treeda837ed3eaf5a45941ed02740d2d1f71f990e73f /unix/tkUnixEvent.c
parentc5559b85ac1478f163c844afcb1842e5ef906278 (diff)
downloadtk-b7d0d319e0ea7c6b85ca3d5d7b9f22a6a129d82f.zip
tk-b7d0d319e0ea7c6b85ca3d5d7b9f22a6a129d82f.tar.gz
tk-b7d0d319e0ea7c6b85ca3d5d7b9f22a6a129d82f.tar.bz2
Tentative fix for bug 3410609 - use the keysym returned by XLookupString in preference to the raw one in the XEvent.bug_3410609
Diffstat (limited to 'unix/tkUnixEvent.c')
-rw-r--r--unix/tkUnixEvent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 67cff2d..09dde72 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -316,6 +316,7 @@ TransferXEventsToTcl(
if (event.type == KeyPress || event.type == KeyRelease) {
event.k.charValuePtr = NULL;
event.k.charValueLen = 0;
+ event.k.keysym = NoSymbol;
/*
* Force the calling of the input method engine now. The results