commit 1626c6776939418faecdbf938463a525e643b131
parent 2c7e8d41ce377bd9de58f2b8c256e53a2e0a0c23
Author: Tony Lainson <none@none>
Date: Thu, 31 Jul 2008 15:59:48 -0400
9vx/OSX: Do not translate Ctl-Alt into Ctl-U
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/9vx/x11/x11-itrans.c b/src/9vx/x11/x11-itrans.c
@@ -112,7 +112,7 @@ _xkeysym(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;