r1152 - branches/unified-sdl/code/client
    DONOTREPLY at icculus.org 
    DONOTREPLY at icculus.org
       
    Mon Sep  3 07:53:30 EDT 2007
    
    
  
Author: tma
Date: 2007-09-03 07:53:30 -0400 (Mon, 03 Sep 2007)
New Revision: 1152
Modified:
   branches/unified-sdl/code/client/cl_ui.c
Log:
* (bug 2726) Prevent console focus being stolen (from Josh Weisskopf)
Modified: branches/unified-sdl/code/client/cl_ui.c
===================================================================
--- branches/unified-sdl/code/client/cl_ui.c	2007-09-03 01:20:54 UTC (rev 1151)
+++ branches/unified-sdl/code/client/cl_ui.c	2007-09-03 11:53:30 UTC (rev 1152)
@@ -677,6 +677,8 @@
 ====================
 */
 void Key_SetCatcher( int catcher ) {
+	// prevent console from being closed
+	catcher |= cls.keyCatchers & KEYCATCH_CONSOLE;
 	cls.keyCatchers = catcher;
 }
 
    
    
More information about the quake3-commits
mailing list