projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63605b1
)
(mwin__parse_event): Fix for non-ASCII keys.
author
handa
<handa>
Tue, 12 Oct 2004 12:17:49 +0000
(12:17 +0000)
committer
handa
<handa>
Tue, 12 Oct 2004 12:17:49 +0000
(12:17 +0000)
src/m17n-X.c
patch
|
blob
|
history
diff --git
a/src/m17n-X.c
b/src/m17n-X.c
index
376b12a
..
dbaf6f2
100644
(file)
--- a/
src/m17n-X.c
+++ b/
src/m17n-X.c
@@
-1744,7
+1744,7
@@
mwin__parse_event (MFrame *frame, void *arg, int *modifiers)
int len;
char buf[512];
KeySym keysym;
- MSymbol key;
+ MSymbol key = Mnil;
*modifiers = 0;
if (event->xany.type != KeyPress
@@
-1773,7
+1773,7
@@
mwin__parse_event (MFrame *frame, void *arg, int *modifiers)
}
else if (keysym >= XK_Shift_L && keysym <= XK_Hyper_R)
return Mnil;
- else
+ if (key == Mnil)
{
char *str = XKeysymToString (keysym);