From 06df6f77ac5ce62c2a284134dc4392e87307774b Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 16 Mar 2007 03:13:22 +0000 Subject: [PATCH] reenabled keyboard grab when fullscreen - this is just a temporary solution, the window should be focused but isn't git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6988 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vid_glx.c b/vid_glx.c index 96bf36f2..32edd056 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -287,7 +287,7 @@ static void IN_Activate (qboolean grab) #endif XWarpPointer(vidx11_display, None, win, 0, 0, 0, 0, vid.width / 2, vid.height / 2); - if (vid_grabkeyboard.integer) + if (vid_grabkeyboard.integer || vid_isfullscreen) XGrabKeyboard(vidx11_display, win, False, GrabModeAsync, GrabModeAsync, CurrentTime); mouse_x = mouse_y = 0; -- 2.39.2