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

Author Topic: [Events] focused and mouse pressed  (Read 1936 times)

0 Members and 1 Guest are viewing this topic.

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
[Events] focused and mouse pressed
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [Events] focused and mouse pressed
« Reply #1 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.
Laurent Gomila - SFML developer