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();
}
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: