mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
440b9ed749
## Link to GitHub Issue or related Pull Request, if one exists #286 ## Description of change When we migrated to event-based I/O for ImGui, it introduced an issue where a button would be held down even when the window is not in focus, because we didn't notify ImGui that the button was released (after the window lost focus). Fix the ImGui custom I/O handler so that it immediately releases all buttons when the window focus is lost. ## Testing tested on 32-bit windowed mode