break;
}
+ if (!vid_activewindow)
+ VID_SetMouse(false, false, false);
+
// enable/disable sound on focus gain/loss
if ((!vid_hidden && vid_activewindow) || !snd_mutewhenidle.integer)
{
break;
}
+ if (!vid_activewindow)
+ VID_SetMouse(false, false, false);
+
// enable/disable sound on focus gain/loss
if ((!vid_hidden && vid_activewindow) || !snd_mutewhenidle.integer)
{
#endif
vid_activewindow = !vid_hidden && vid_hasfocus;
+ if (!vid_activewindow)
+ VID_SetMouse(false, false, false);
+
VID_UpdateGamma();
if (!vid_hidden)