fix: ignore the controller while another window is in front
remus reads the controller from the device, whichever window has focus, so presses meant for a game in front also skipped tracks and paused in remus. It now follows winit's focus events, through slint's unstable-winit-030 feature since Slint does not expose window activation itself, and drops controller presses while the window is not in front. It assumes focus until told otherwise, so a window manager that never reports focus keeps the controller working.
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
One section per version, newest first.
|
||||
|
||||
## v0.8.4 (2026-11-04)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- While another app or a game is in front, the controller no longer also controls remus. Music keeps playing in the background, and media keys still work.
|
||||
|
||||
## v0.8.3 (2026-11-04)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
Reference in New Issue
Block a user