summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_video.c')
-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)
{