ref: f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56
parent: 8ff48048aa3d6da0b247e6a7f8243f64d9e23679
author: Simon Howard <[email protected]>
date: Sat Jul 7 19:45:55 EDT 2007
Don't grab the mouse if a drone player (no input, so it isn't needed). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 932
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -175,6 +175,11 @@
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)