devdraw: keep Ctl-Alt from turning into Ctl-U on X11
This commit is contained in:
parent
2863f80be8
commit
3d36f44373
@ -127,7 +127,7 @@ __xtoplan9kbd(XEvent *e)
|
|||||||
if(k == XK_hyphen)
|
if(k == XK_hyphen)
|
||||||
k = XK_minus;
|
k = XK_minus;
|
||||||
/* Do control mapping ourselves if translator doesn't */
|
/* Do control mapping ourselves if translator doesn't */
|
||||||
if(e->xkey.state&ControlMask)
|
if(e->xkey.state&ControlMask && k != Kalt)
|
||||||
k &= 0x9f;
|
k &= 0x9f;
|
||||||
if(k == NoSymbol) {
|
if(k == NoSymbol) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user