[hatari-devel] Wrapper function for setting mouse visibility in GUI

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hallo all,

I’d like to suggest the appended patch (you might need to merge manually for Hatari). There are two benefits from this:
  • It avoids risky mixing of types (SDL_ShowCursor() takes and returns an int but is used with bools).
  • It makes it easier to port to SDL3 because only one central function in main.c needs to be ported.

Regards,
Andreas

Attachment: hatari_cursor.diff
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/