I currently use the sf::Keyboard::isKeyPressed() function to check for input, because if I use window events, I can't handle multiple key presses.
However, using this makes it so input is recognized, even if I don't have window focus. Is there a way to check if my window has focus?