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)
commitdecde02a24b86ca09b731abc7a98cd0d1619c7a0 (patch)
treeda837ed3eaf5a45941ed02740d2d1f71f990e73f /unix/tkUnixEvent.c
parentfe84f8085b48ebe8ee903333115ba507e73ddbed (diff)
downloadtk-decde02a24b86ca09b731abc7a98cd0d1619c7a0.zip
tk-decde02a24b86ca09b731abc7a98cd0d1619c7a0.tar.gz
tk-decde02a24b86ca09b731abc7a98cd0d1619c7a0.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