[hatari-devel] prevent alt-f4 from closing Hatari on Windows

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


under Windows alt-f4 will close the program.

As reported by DMA-SC this can be a problem when some ST programs use alt+F4 as a shortcut (for example maxYMizer uses alt-f4 as a shortcut when composing music).

I found that SDL 2.0.4 added SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 to prevent a CLOSE to be sent to the main program.

Should we add an option to Hatari to support this ? As a choice in the UI or just as a parameter and a config file option ?


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