SFML community forums

Help => Window => Topic started by: Mr.Zeus on January 23, 2019, 01:58:26 am

Title: [SOLVED: 2.2]When was the requestFocus() method added?
Post by: Mr.Zeus on January 23, 2019, 01:58:26 am
The title is the question. I want be able install SFML via "apt-get", and the version that is installed on Raspbian Jessie does not install a version of SFML that supports requestFocus(). Also, what would the best way to implement this anyway? I was thinking by checking the Major, Minor, and Patch of SFML's version with an "#if".
Title: Re: When was the requestFocus() method added?
Post by: G. on January 23, 2019, 02:07:18 am
https://www.sfml-dev.org/changelog.php
ctrl F "focus"
SFML 2.2 "Added window methods to request and to check focus"
Title: Re: When was the requestFocus() method added?
Post by: Mr.Zeus on January 23, 2019, 02:29:36 am
Ya, I figured it out, just before I checked the forum. DUH!  :P Thanks!