fix mouse in win32, I had forgotten to update a lot of code
[xonotic/darkplaces.git] / vid_wgl.c
index 4979397..9251b84 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -539,7 +539,7 @@ void AppActivate(BOOL fActive, BOOL minimize)
        static BOOL     sound_active;
 
        vid_activewindow = fActive;
-       Minimized = minimize;
+       vid_hidden = minimize;
 
 // enable/disable sound on focus gain/loss
        if (!vid_activewindow && sound_active)