diff options
author | grai <t.lainson@gmail.com> | 2008-07-22 03:21:55 +1000 |
---|---|---|
committer | grai <t.lainson@gmail.com> | 2008-07-22 03:21:55 +1000 |
commit | 3d36f4437348227c5bad62587dc12b5fd4a3e95e (patch) | |
tree | cc7fb1da81ad05c69761a7e6a33b1e0640ec0cd9 /src/cmd | |
parent | 2863f80be896bdbc5bf2507c81d5331cc96482b3 (diff) | |
download | plan9port-3d36f4437348227c5bad62587dc12b5fd4a3e95e.tar.gz plan9port-3d36f4437348227c5bad62587dc12b5fd4a3e95e.tar.bz2 plan9port-3d36f4437348227c5bad62587dc12b5fd4a3e95e.zip |
devdraw: keep Ctl-Alt from turning into Ctl-U on X11
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/x11-itrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/devdraw/x11-itrans.c b/src/cmd/devdraw/x11-itrans.c index c0e3194f..d95f0cb1 100644 --- a/src/cmd/devdraw/x11-itrans.c +++ b/src/cmd/devdraw/x11-itrans.c @@ -127,7 +127,7 @@ __xtoplan9kbd(XEvent *e) if(k == XK_hyphen) k = XK_minus; /* Do control mapping ourselves if translator doesn't */ - if(e->xkey.state&ControlMask) + if(e->xkey.state&ControlMask && k != Kalt) k &= 0x9f; if(k == NoSymbol) { return -1; |