Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Window not responding after closing  (Read 1584 times)

0 Members and 1 Guest are viewing this topic.

kdietrich

  • Newbie
  • *
  • Posts: 1
    • View Profile
Window not responding after closing
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Window not responding after closing
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything