diff options
| author | Justin Davis <jrcd83@gmail.com> | 2011-09-28 14:11:32 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2011-09-28 14:11:32 -0400 |
| commit | 4b58d457076fa1ee3d86ed31162a0721ebf44862 (patch) | |
| tree | 2d1e5cb734f5e3a2116518cfa37c3c0b909df462 /src/cmd/devdraw/x11-itrans.c | |
| parent | 6135b41c7dbfdf5ac1840a1d1d4f20505e429278 (diff) | |
| download | plan9port-4b58d457076fa1ee3d86ed31162a0721ebf44862.tar.gz plan9port-4b58d457076fa1ee3d86ed31162a0721ebf44862.zip | |
devdraw: do not interpret alt-tab as alt for compose
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5132050
Diffstat (limited to 'src/cmd/devdraw/x11-itrans.c')
| -rw-r--r-- | src/cmd/devdraw/x11-itrans.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cmd/devdraw/x11-itrans.c b/src/cmd/devdraw/x11-itrans.c index ff127c04..7a4df248 100644 --- a/src/cmd/devdraw/x11-itrans.c +++ b/src/cmd/devdraw/x11-itrans.c @@ -137,12 +137,20 @@ __xtoplan9kbd(XEvent *e) return k+0; } +int alting; + +void +abortcompose(void) +{ + alting = 0; +} + extern int _latin1(Rune*, int); static Rune* xtoplan9latin1(XEvent *e) { static Rune k[10]; - static int alting, nk; + static int nk; int n; int r; |
