SFML community forums

Help => Window => Topic started by: Brendon on April 10, 2011, 06:28:12 pm

Title: Simulation pausing when window is dragged
Post by: Brendon on April 10, 2011, 06:28:12 pm
I noticed when I drag the window around, the application stops updating itself.  It resumes once I stop dragging the window around. This isn't a big deal for singleplayer games, but it's breaking a multiplayer game I'm working on.

From digging around the SFML forums, it seems this is an unresolvable issue relating to how Windows works. So, I was wondering if anyone has any tips or suggestions on how to work around this.
Title: Simulation pausing when window is dragged
Post by: JAssange on April 10, 2011, 07:28:15 pm
I believe handling events in another thread fixes this.
Title: Simulation pausing when window is dragged
Post by: Laurent on April 10, 2011, 09:40:49 pm
Quote
I believe handling events in another thread fixes this.

This is indeed the only workaround.