src/video/x11/SDL_x11wm.c
branchSDL-1.2
changeset 3896 1a327643e741
parent 3872 be84332e761e
child 3998 098ac044cd2f
--- a/src/video/x11/SDL_x11wm.c	Sun Nov 12 21:23:57 2006 +0000
+++ b/src/video/x11/SDL_x11wm.c	Mon Nov 13 03:58:22 2006 +0000
@@ -369,6 +369,8 @@
 
 		/* Make sure we register input focus */
 		SDL_PrivateAppActive(1, SDL_APPINPUTFOCUS);
+		/* Since we grabbed the pointer, we have mouse focus, too. */
+		SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
 	}
 	XSync(SDL_Display, False);