]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
rearranged mouse grabbing rules again to force grabbing when fullscreen (for some...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 May 2005 18:07:20 +0000 (18:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 May 2005 18:07:20 +0000 (18:07 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5244 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 803f76b9f595d19c0e13fb94df73e097463aa128..efad71fdd0a5b781fb0899252c689ee5cc624c26 100644 (file)
--- 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)