Fix mouse problem when focus is lost
authorunc0rr
Fri, 16 Oct 2009 11:53:19 +0000
changeset 2477 d1ab2e2549d0
parent 2476 4e9c3c9ece3e
child 2478 cf2557f46237
Fix mouse problem when focus is lost
hedgewars/SDLh.pas
--- a/hedgewars/SDLh.pas	Fri Oct 16 03:34:00 2009 +0000
+++ b/hedgewars/SDLh.pas	Fri Oct 16 11:53:19 2009 +0000
@@ -65,7 +65,7 @@
 	SDL_INIT_AUDIO  = $00000010;
 	SDL_INIT_JOYSTICK = $00000200;
 
-	SDL_APPINPUTFOCUS=$00000010;
+	SDL_APPINPUTFOCUS=$00000002;
 
 {$IFDEF SDL13}
 	SDL_ASYNCBLIT   = $08000000;