Commit c69a0ae2 authored by Sam Lantinga's avatar Sam Lantinga

Get updates to the shadow surface while switched away

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401740
parent 4dadaeae
......@@ -953,6 +953,11 @@ static void switch_vt_done(_THIS)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment