devdraw: keep Ctl-Alt from turning into Ctl-U on X11
This commit is contained in:
parent
2863f80be8
commit
3d36f44373
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue