From 670b45edd984c5d140eef61bc246bc34cbe08794 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Mon, 6 Jul 2009 13:36:16 +0000 Subject: [PATCH] Now builds again. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3241 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/vid_x.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/sw/vid_x.c b/engine/sw/vid_x.c index ddaa5d673..87dc4a11d 100644 --- a/engine/sw/vid_x.c +++ b/engine/sw/vid_x.c @@ -1123,7 +1123,7 @@ void GetEvent(void) case FocusIn: for (b = 0; b < 256; b++) - Key_Event(b, false); + Key_Event(b, 0, false); focusedapp = true; break; case FocusOut: @@ -1269,7 +1269,7 @@ void Sys_SendKeyEvents(void) while (XPending(vid_dpy)) GetEvent(); while (keyq_head != keyq_tail) { - Key_Event(keyq[keyq_tail].key, keyq[keyq_tail].down); + Key_Event(keyq[keyq_tail].key, keyq[keyq_tail].key, keyq[keyq_tail].down); keyq_tail = (keyq_tail + 1) & 63; } } @@ -1351,10 +1351,10 @@ void IN_Commands (void) for (i=0 ; i