Open Unarelith opened 4 years ago
I noticed that it's not only for i3 fullscreen mode but also for a different situation.
I'm using dunst
for notifications, and each time I interact with them (using Ctrl+Space
to discard a notification or Ctrl+)
to show last notification), SFML considers the window has lost the focus, even if it actually didn't.
Also, when I'm taking a screenshot using this script, the window loses focus, preventing me to take a screenshot without my pause menu (which is triggered by LostFocus event)
Subject of the issue
When using
i3
borderless fullscreen mode (usuallySuper+F
orAlt+F
), SFML considers that the window loses focus, even if it doesn't.I tried to compare with other programs and it seems that it is a SFML-specific issue.
Your environment
Steps to reproduce
Expected behavior
Actual behavior
Note that the
LostFocus
event is sent twice, I assume this shouldn't be happening?