allegroflare / allegro_flare

Application toolkit for Allegro 5
https://clubcatt.com/allegroflare
MIT License
35 stars 6 forks source link

Auto-unhiding of mouse cursor causes asynchronization with DisplaySettingsInterface #264

Open MarkOates opened 8 months ago

MarkOates commented 8 months ago

When working in windowed mode and using al_hide_mouse_cursor(true), sometimes the mouse cursor will become unhidden by the OS, usually when the cursor exits the display window. The AllegroFlare/DisplaySettingsInterfaces/Live mouse_cursor_hidden will not update when this occurs, and sometimes results in more issues with toggle_hide_mouse_cursor().

Ideally, the cursor should unhide when exiting the display, and then re-hide upon entering the display.