equal
deleted
inserted
replaced
951 SDL_memcpy(screen->pixels, screen_contents, screen_arealen); |
951 SDL_memcpy(screen->pixels, screen_contents, screen_arealen); |
952 SDL_free(screen_contents); |
952 SDL_free(screen_contents); |
953 screen_contents = NULL; |
953 screen_contents = NULL; |
954 } |
954 } |
955 |
955 |
|
956 /* Get updates to the shadow surface while switched away */ |
|
957 if ( SDL_ShadowSurface ) { |
|
958 SDL_UpdateRect(SDL_ShadowSurface, 0, 0, 0, 0); |
|
959 } |
|
960 |
956 SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)); |
961 SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)); |
957 } |
962 } |
958 static void switch_vt(_THIS, unsigned short which) |
963 static void switch_vt(_THIS, unsigned short which) |
959 { |
964 { |
960 struct vt_stat vtstate; |
965 struct vt_stat vtstate; |