summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/hosted/sdl/system-sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c
index 87b2e0c..a57e704 100644
--- a/firmware/target/hosted/sdl/system-sdl.c
+++ b/firmware/target/hosted/sdl/system-sdl.c
@@ -133,6 +133,8 @@ static int sdl_event_thread(void * param)
flags |= SDL_FULLSCREEN;
#endif
+ SDL_WM_SetCaption(UI_TITLE, NULL);
+
if ((gui_surface = SDL_SetVideoMode(width * display_zoom, height * display_zoom, depth, flags)) == NULL) {
panicf("%s", SDL_GetError());
}
@@ -149,8 +151,6 @@ static int sdl_event_thread(void * param)
SDL_SetCursor(hiddenCursor);
#endif
- SDL_WM_SetCaption(UI_TITLE, NULL);
-
if (background && picture_surface != NULL)
SDL_BlitSurface(picture_surface, NULL, gui_surface, NULL);