Windows Game icon doesn't appear in taskbar unless I click on the game window with the mouse cursor

Owly

Member
Hey! I'm encountering this strange bug. When I launch my game, the game icon doesn't appear in the taskbar, unless I click on the game window, then it does. How do I fix this? Why does it happen?

Thanks!

EDIT: it seems to only happen when the game starts in window mode, if it starts in fullscreen and then I go to window mode -- it's fine.

EDIT 2: Here's the code I have when the game starts:

ini_open(_file);
var _a = ini_read_string("general","fullscreen","0");
if (_a==0)
{
window_set_fullscreen(false);
window_set_size(ideal_w,ideal_h);
alarm[0]=1
surface_resize(application_surface,ideal_w,ideal_h);

}
else
{
window_set_fullscreen(true);
}
ini_close();

Alarm[0]
if !window_get_fullscreen()
{
window_center();
}
 
Last edited:

FoxyOfJungle

Kazan Games
Which version of the Game Maker Studio are you using? Version 1.4 had this bug, but in 2.2.5 it does not have this problem.
I suggest you update the program.
 

Owly

Member
Which version of the Game Maker Studio are you using? Version 1.4 had this bug, but in 2.2.5 it does not have this problem.
I suggest you update the program.
I have version 2.2.3.436 -- should I have this bug? I'll take your advice and update either way when I'm home! Hope it fixes it. If not I'll be back here šŸ˜Ÿ
 
Top