src/video/x11/SDL_x11wm.c
branchSDL-1.2
changeset 3896 1a327643e741
parent 3872 be84332e761e
child 3998 098ac044cd2f
equal deleted inserted replaced
3895:aeb55f698ee3 3896:1a327643e741
   367 		if ( !(this->screen->flags & SDL_FULLSCREEN) )
   367 		if ( !(this->screen->flags & SDL_FULLSCREEN) )
   368 			XRaiseWindow(SDL_Display, WMwindow);
   368 			XRaiseWindow(SDL_Display, WMwindow);
   369 
   369 
   370 		/* Make sure we register input focus */
   370 		/* Make sure we register input focus */
   371 		SDL_PrivateAppActive(1, SDL_APPINPUTFOCUS);
   371 		SDL_PrivateAppActive(1, SDL_APPINPUTFOCUS);
       
   372 		/* Since we grabbed the pointer, we have mouse focus, too. */
       
   373 		SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
   372 	}
   374 	}
   373 	XSync(SDL_Display, False);
   375 	XSync(SDL_Display, False);
   374 
   376 
   375 	return(mode);
   377 	return(mode);
   376 }
   378 }