SFML community forums

General => General discussions => Topic started by: kdietrich on May 31, 2023, 04:14:06 am

Title: Window not responding after closing
Post by: kdietrich on May 31, 2023, 04:14:06 am
The window and rectangle render OK when I run the software, but closing the window with the mouse results in a (Not Responding) notice appearing in the window's title bar.  Is this typical?  Simply hanging, the mouse (blue circle). I then receive the message "SFML.exe is not responding" when I attempt to close the window.
geometry dash (https://geometrydash-free.com/)
Title: Re: Window not responding after closing
Post by: eXpl0it3r on May 31, 2023, 08:57:35 am
Do you handle the Closed event and actually close the window?

See the event tutorial: https://www.sfml-dev.org/tutorials/2.5/window-events.php

For the future, please create a new thread instead of adding to an existing thread with a completely unrelated question.