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

[ Thread Index | Date Index | More Archives ]

----- On Jan 2, 2018, at 9:08 AM, Nicolas Pomarède wrote:

> Hi
> 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 ?
> Nicolas

Linux may have a similar issue (CentOS 6 Gnome2)
Alt -F4 Close Window
Alt -F7 Move Window
Alt -F8 Resize Window
Alt -F9 Minimize Window

Maybe a closer look is required.

Mail converted by MHonArc 2.6.19+