From be953fe1e3ff0445c0de44631fcadf4576118a8a Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Mon, 28 Dec 2009 16:56:07 +0200 Subject: [PATCH] do not set SDL_caption and Icon, otherwise we get 2 windows in maemo taskswitcher --- src/play.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/play.c b/src/play.c index e18b642..cb761dd 100644 --- a/src/play.c +++ b/src/play.c @@ -211,10 +211,10 @@ int play() { board_rect.h = 0; /* set window properties and create it */ - SDL_WM_SetCaption("Mancala", "Mancala"); - if (sprintf(icon_path, "%s/icon.png", RES_PATH) == 0) - printf("Problems assembling icon path.\n"); - SDL_WM_SetIcon(LoadRes(icon_path), NULL); + // SDL_WM_SetCaption("Mancala", "Mancala"); + // if (sprintf(icon_path, "%s/icon.png", RES_PATH) == 0) + // printf("Problems assembling icon path.\n"); + // SDL_WM_SetIcon(LoadRes(icon_path), NULL); if ((screen = SDL_SetVideoMode(tile->w*8, (tile->h*2) + Y_OFFSET, 16, SDL_FULLSCREEN)) == NULL) { printf("Unable to set %dx%d video: %s", tile->w*8, -- 1.7.9.5