code
code copied to clipboard
Button click animation happens when re-focusing window, macOS 14
Describe the bug
In macOS, clicking on an unfocused window does not immediately pass a click event, it first just focuses the window, then clicks after that are processed normally.
When refocusing the theseus window by clicking over a button, the button zooms out like you click on it, but doesn't actually click.
The window should not react at all to this click, only focus.
Steps to reproduce
- Unfocus theseus window but keep it visible in the background
- Refocus the window, making sure to click over a button
- Observe button animation
Expected behavior
The window should not react at all to the refocus click.
System information
- macOS Sonoma 14.2.1
- Theseus v0.6.3
Additional context
No response