66f82ad931
other areas. reported by Ray <ray at cyth dot net> and Alex Holst <a at mongers dot org>. tested by jolan@ and pedro@
12 lines
445 B
Plaintext
12 lines
445 B
Plaintext
$OpenBSD: patch-x_c,v 1.9 2005/02/24 22:24:55 fgsch Exp $
|
|
--- x.c.orig Sun Jan 2 17:17:26 2005
|
|
+++ x.c Mon Feb 21 12:02:02 2005
|
|
@@ -326,6 +326,7 @@ static int x_translate_key(XKeyEvent *e,
|
|
/* alt, control, shift ... */
|
|
if (e->state&ControlMask)*flag|=KBD_CTRL;
|
|
if (e->state&Mod1Mask)*flag|=KBD_ALT;
|
|
+ /* if (e->state&ShiftMask)*flag|=KBD_SHIFT; */
|
|
|
|
/* alt-f4 */
|
|
if (((*flag)&KBD_ALT)&&(ks==XK_F4)){*key=KBD_CTRL_C;*flag=0;return 1;}
|