openbsd-ports/www/links+/patches/patch-x_c

12 lines
445 B
Plaintext
Raw Normal View History

$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;}