fix mouse in win32, I had forgotten to update a lot of code
[xonotic/darkplaces.git] / in_win.c
index 37db2e0..60eb8a8 100644 (file)
--- a/in_win.c
+++ b/in_win.c
@@ -639,7 +639,7 @@ IN_Move
 */
 void IN_Move (usercmd_t *cmd)
 {
-       if (ActiveApp && !Minimized)
+       if (vid_activewindow && !vid_hidden)
        {
                IN_MouseMove (cmd);
                IN_JoyMove (cmd);