Re: [hatari-devel] prevent alt-f4 from closing Hatari on Windows |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx, Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] prevent alt-f4 from closing Hatari on Windows
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Wed, 3 Jan 2018 08:09:26 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1514963368; bh=n2Bjkt6CQZPFc/0N3XQVSi5pcewy1Q1B44nqA6ZehXk=; h=Subject:To:From:Date:From; b=Ni9Kupu3m3m+ZjlmD8U6zcpoF6FjtQMpe10bG+URZag1jjkEvh958QlHTyqFrStCf NtCXpmobFfsNdk/IiD0RlNpuOnQQLmE38Yzh+kH0Zl8LkbH91KvTOF7fkH8vFivZWR ZD8xEy9mQes79GdUgCSKoTQ46fl/sr5Z4GOwc4+bQgC9i6W9qPsoaX9o+k0Pugy4vs aPi//HpDcdofVKniG3ybhG1+0mHSK4HPw6633sTDufdAdJUKvUEsmnc2XpWba29Qg8 Mk6O9DOv7eD52DTy67xHFQgxrd+1rYcIvJ0rdPqTkopyrtMHv9k7Dle1sQMFBe4/12 ia374d+TPPbIg==
On 02.01.2018 18:08, 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 ?
I think I'd rather enable it permanently, without config option.
Thomas