summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 1f375577..1add5312 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -925,6 +925,7 @@ static void UpdateGrab(void)
else if (grab && !currently_grabbed)
{
SetShowCursor(false);
+ CenterMouse();
}
else if (!grab && currently_grabbed)
{