From: havoc Date: Sat, 7 May 2005 18:07:20 +0000 (+0000) Subject: rearranged mouse grabbing rules again to force grabbing when fullscreen (for some... X-Git-Tag: xonotic-v0.1.0preview~4935 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51bd08c7115d423d013466b4e7fdf2cd92cf6d76;p=xonotic%2Fdarkplaces.git rearranged mouse grabbing rules again to force grabbing when fullscreen (for some reason it isn't the active window) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5244 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_glx.c b/vid_glx.c index 803f76b9..efad71fd 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -664,10 +664,10 @@ void VID_Finish (void) vid_usemouse = false; if (vid_mouse.integer && !key_consoleactive && !cls.demoplayback) vid_usemouse = true; - if (vid_isfullscreen) - vid_usemouse = true; if (!vid_activewindow) vid_usemouse = false; + if (vid_isfullscreen) + vid_usemouse = true; if (vid_usemouse) { if (!vid_usingmouse)