• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Weird window behavior

Hello, how do I fix this? Whenever game loses focus, sometimes its shrunken down, so game position and mouse doesnt match or become black at allimage_2021-01-12_003400.png
 
added those lines:
surface_resize(application_surface, RESOLUTION_W, RESOLUTION_H);
display_set_gui_size(RESOLUTION_W,RESOLUTION_H);
 
Top