From f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 7 Jul 2007 23:45:55 +0000 Subject: Don't grab the mouse if a drone player (no input, so it isn't needed). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 932 --- src/i_video.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/i_video.c b/src/i_video.c index ade81d03..f2ffe33c 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -175,6 +175,11 @@ static boolean MouseShouldBeGrabbed() if (fullscreen != FULLSCREEN_OFF) return true; + // Drone players don't need mouse focus + + if (drone) + return false; + // if we specify not to grab the mouse, never grab if (!grabmouse) -- cgit v1.2.3