static qboolean multithreadedgl;
static qboolean mouse_avail = true;
static qboolean vid_usingmouse = false;
+static qboolean vid_usingnoaccel = false;
static float mouse_x, mouse_y;
static qboolean vid_isfullscreen = false;
{
if (grab)
{
+ if(vid_usingmouse && (vid_usingnoaccel != !!apple_mouse_noaccel.integer))
+ IN_Activate(false); // ungrab first!
if (!vid_usingmouse && mouse_avail && window)
{
Rect winBounds;
mouse_x = mouse_y = 0;
vid_usingmouse = true;
+ vid_usingnoaccel = !!apple_mouse_noaccel.integer;
}
}
else
static qboolean mouse_avail = true;
static qboolean vid_usingmouse = false;
+static qboolean vid_usingdgamouse = false;
static qboolean vid_usingvsync = false;
static qboolean vid_usevsync = false;
static qboolean vid_x11_hardwaregammasupported = false;
return;
if (grab)
{
+#if !defined(__APPLE__) && !defined(SUNOS)
+ if(vid_usingmouse && (vid_usingdgamouse != !!vid_dgamouse.integer))
+ IN_Activate(false); // ungrab first!
+#endif
if (!vid_usingmouse && mouse_avail && win)
{
XWindowAttributes attribs_1;
mouse_x = mouse_y = 0;
cl_ignoremousemoves = 2;
vid_usingmouse = true;
+ vid_usingdgamouse = !!vid_dgamouse.integer;
}
}
else