diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i_video.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i_video.c b/src/i_video.c index fe5aca8d..93548498 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -171,6 +171,11 @@ static boolean MouseShouldBeGrabbed() if (fullscreen != FULLSCREEN_OFF) return true; + // Don't grab the mouse if mouse input is disabled + + if (!usemouse || nomouse) + return false; + // Drone players don't need mouse focus if (drone) |