I'm updating my current project to use the latest sfml version, and I have stumbled upon something I don't know how to solve.
When i de-select my game window and f.e. click the windows start button, my character fires his gun, and if I write something in notepad my character jumps around.
Is there any simple fix, like a bool to set to false to not capture things outside of my application?
Also I want to suggest that 'not capturing things from outside of the application' should be true by default.