devdraw: keep Ctl-Alt from turning into Ctl-U on X11

This commit is contained in:
grai 2008-07-22 03:21:55 +10:00
parent 2863f80be8
commit 3d36f44373

View file

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