mirror of
https://github.com/SFML/SFML.git
synced 2025-03-04 10:58:05 +08:00
Reasons: * Consistent with other sf::Window methods * User can test whether focus succeeded by subsequent hasFocus() call * Implementation would have to call hasFocus() anyway on some systems Also: minor code style change in Window::hasFocus()