Hey,
I do have this problem several times, but just after testing with the minimum code to run the SFML that I confirm this. I don't know why happens but, when I compile the project and the window pops up some times it freezes and if it is freezed I can't click anywhere because it doesn't work, only if I 'ALT+TAB' to choose other window. It also happens when the app runs great and then after a few moments (random time) freezes again. Its abit anoying, because before I test my game I need to test if the window isn't frozen, if it is I need to try to run again and again until the window runs correctly (if doesn't freeze again lol).
If you need any info just say.
#include <SFML/Graphics.hpp>
int main()
{
// Create the main rendering window
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
// Start game loop
while (App.IsOpened())
{
// Process events
sf::Event Event;
while (App.GetEvent(Event))
{
// Close window : exit
if (Event.Type == sf::Event::Closed)
App.Close();
}
// Clear the screen (fill it with black color)
App.Clear();
// Display window contents on screen
App.Display();
}
return EXIT_SUCCESS;
}
linker: "sfml-system-s-d.lib sfml-window-s-d.lib sfml-graphics-s-d.lib"
Win XP SP3, VS 2008