Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(67)

Unified Diff: src/cmd/devdraw/x11-itrans.c

Issue 3811043: code review 3811043: keyboard(7): document X compose sequences (Closed)
Patch Set: code review 3811043: keyboard(7): document X compose sequences Created 14 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/devdraw/mklatinkbd.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/devdraw/x11-itrans.c
===================================================================
--- a/src/cmd/devdraw/x11-itrans.c
+++ b/src/cmd/devdraw/x11-itrans.c
@@ -37,7 +37,7 @@
needstack(64*1024); /* X has some *huge* buffers in openobject */
/* and they're even bigger on SuSE */
XLookupString((XKeyEvent*)e,NULL,0,&k,NULL);
- if(k == XK_Multi_key || k == NoSymbol)
+ if(k == k == NoSymbol)
return -1;
if(k&0xFF00){
@@ -113,6 +113,7 @@
case XK_Meta_L: /* Shift Alt on PCs */
case XK_Alt_R:
case XK_Meta_R: /* Shift Alt on PCs */
+ case XK_Multi_key:
k = Kalt;
break;
default: /* not ISO-1 or tty control */
« no previous file with comments | « src/cmd/devdraw/mklatinkbd.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b