SFML community forums

Help => Window => Topic started by: netrick on January 09, 2013, 02:36:59 pm

Title: [Events] focused and mouse pressed
Post by: netrick on January 09, 2013, 02:36:59 pm
I'm doing input wrapper right now and I have a problem.

If the window is out of focus, and the user clicks on it, will the events be sent in the following way on every platform:
1) gained focus
2) pressed button

Or it may vary by the weather or by the os?
Title: Re: [Events] focused and mouse pressed
Post by: Laurent on January 09, 2013, 02:45:27 pm
It depends on the OS. Which doesn't mean that it's not the same on every OS.