Defer setting the window icon until there is a window.
This commit is contained in:
parent
13b00d344f
commit
c3e652f5ff
2 changed files with 10 additions and 8 deletions
|
|
@ -43,6 +43,8 @@ $Id$
|
|||
* Made sure "New" dialog created correct thumbnail subdirectories
|
||||
for personal Starters & Templates (e.g., ~/.tuxpaint/starters/thumbs/)
|
||||
|
||||
* Moved the setting of the window icon after window creation.
|
||||
|
||||
* Other Improvements
|
||||
------------------
|
||||
* Added ability to move color palette options to the end of
|
||||
|
|
|
|||
|
|
@ -24031,14 +24031,6 @@ static void setup(void)
|
|||
#endif
|
||||
setup_colors();
|
||||
|
||||
/* Set window icon and caption: */
|
||||
|
||||
#ifndef __APPLE__
|
||||
seticon();
|
||||
#endif
|
||||
if (hide_cursor)
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
|
||||
|
||||
/* Deal with orientation rotation option */
|
||||
|
||||
|
|
@ -24241,6 +24233,14 @@ static void setup(void)
|
|||
|
||||
setup_screen_layout();
|
||||
|
||||
/* Set window icon and caption: */
|
||||
|
||||
#ifndef __APPLE__
|
||||
seticon();
|
||||
#endif
|
||||
if (hide_cursor)
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
|
||||
|
||||
/* quickly: title image, version, progress bar, and watch cursor */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue