# HG changeset patch # User Sam Lantinga # Date 1147066605 0 # Node ID d8030f368b84a980b9eca96429f910715f79b6e0 # Parent 7a36f01acf71fd41b9c95e3125c662b3f3199cfb Get updates to the shadow surface while switched away diff -r 7a36f01acf71 -r d8030f368b84 src/video/fbcon/SDL_fbevents.c --- a/src/video/fbcon/SDL_fbevents.c Mon May 08 05:33:02 2006 +0000 +++ b/src/video/fbcon/SDL_fbevents.c Mon May 08 05:36:45 2006 +0000 @@ -953,6 +953,11 @@ screen_contents = NULL; } + /* Get updates to the shadow surface while switched away */ + if ( SDL_ShadowSurface ) { + SDL_UpdateRect(SDL_ShadowSurface, 0, 0, 0, 0); + } + SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)); } static void switch_vt(_THIS, unsigned short which)