diff options
author | Simon Howard | 2007-07-07 23:45:55 +0000 |
---|---|---|
committer | Simon Howard | 2007-07-07 23:45:55 +0000 |
commit | f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56 (patch) | |
tree | f3129f6064efe7466186cee0a9b320582c20c9f6 | |
parent | 8ff48048aa3d6da0b247e6a7f8243f64d9e23679 (diff) | |
download | chocolate-doom-f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56.tar.gz chocolate-doom-f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56.tar.bz2 chocolate-doom-f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56.zip |
Don't grab the mouse if a drone player (no input, so it isn't needed).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 932
-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 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) |