]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_glx.c
changed cl_ignoremousemove from a qboolean to an int named
[xonotic/darkplaces.git] / vid_glx.c
index 7f5fbe051eb359f4c47cc74f90f8e1cc00f32f53..02911ed859ace7808796cf6a4a4c9742ca233d80 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -282,7 +282,7 @@ static void IN_Activate (qboolean grab)
                                XGrabKeyboard(vidx11_display, win, False, GrabModeAsync, GrabModeAsync, CurrentTime);
 
                        mouse_x = mouse_y = 0;
-                       cl_ignoremousemove = true;
+                       cl_ignoremousemoves = 2;
                        vid_usingmouse = true;
                }
        }
@@ -302,7 +302,7 @@ static void IN_Activate (qboolean grab)
                        if (win)
                                XUndefineCursor(vidx11_display, win);
 
-                       cl_ignoremousemove = true;
+                       cl_ignoremousemoves = 2;
                        vid_usingmouse = false;
                }
        }