src/video/fbcon/SDL_fbevents.c
changeset 1781 d8030f368b84
parent 1780 7a36f01acf71
child 1787 15ae67aa6b4b
--- 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)