devdraw: do not interpret alt-tab as alt for compose

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5132050
This commit is contained in:
Justin Davis 2011-09-28 14:11:32 -04:00 committed by Russ Cox
parent 6135b41c7d
commit 4b58d45707
4 changed files with 17 additions and 2 deletions

View file

@ -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;