summaryrefslogtreecommitdiff
path: root/textscreen/txt_desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_desktop.c')
-rw-r--r--textscreen/txt_desktop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/textscreen/txt_desktop.c b/textscreen/txt_desktop.c
index 72bda28a..e9673434 100644
--- a/textscreen/txt_desktop.c
+++ b/textscreen/txt_desktop.c
@@ -112,6 +112,7 @@ void TXT_SetDesktopTitle(char *title)
{
free(desktop_title);
desktop_title = strdup(title);
+ SDL_WM_SetCaption(title, NULL);
}
void TXT_DrawDesktop(void)
@@ -128,7 +129,7 @@ void TXT_DrawDesktop(void)
for (i=0; i<num_windows; ++i)
{
- TXT_DrawWindow(all_windows[i]);
+ TXT_DrawWindow(all_windows[i], i == num_windows - 1);
}
TXT_UpdateScreen();