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)
commit92fd6c36bca199a694c294f966fb4a3d02728e90 (patch)
treeda837ed3eaf5a45941ed02740d2d1f71f990e73f /unix/tkUnixEvent.c
parent3ee702d38e706fd685edf15cf34bbf146d370e90 (diff)
downloadtk-92fd6c36bca199a694c294f966fb4a3d02728e90.zip
tk-92fd6c36bca199a694c294f966fb4a3d02728e90.tar.gz
tk-92fd6c36bca199a694c294f966fb4a3d02728e90.tar.bz2
Tentative fix for bug 3410609 - use the keysym returned by XLookupString in preference to the raw one in the XEvent.
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