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 <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] prevent alt-f4 from closing Hatari on Windows
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Tue, 2 Jan 2018 11:34:02 -0700 (MST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1514918043; bh=6TqDxBaatowtvRu1Bf/bv/Tj8E/3G23GToDJagXblaM=; h=Date:From:To:In-Reply-To:Subject; b=YYNaxT4Wq+E0vUk5GTGqIrLGYCr7RkrI3ogZipErm1HcRusmRrHsFygzK8qncgMm7 6W1YZZpnazdqCCE3pZKwSdYKoJZM47illlmOa7uHxgp9EF60WQtKp+euXDZslsZeyC zjzq19a4/t9WbP5oQ6Ie/R6g3B+WEW+Rc+pOFT1UOsuJB8oXYGFw3/K4CsNy7avDgV O9FDF0xWqNLj3nFINk32rdkDwIAV0fRsd6GgxoXeiC6RMrk65eKA8nRUbATKYQvhJu 515cilmZU8EMsjJta2gILbtJfIjbcQZTXhQSWIcA4FMMl4zJQY6+35zlr8pMhlfyT3 JMLx6ww1e6TeA==
- Thread-index: 5IWiFDMi7cUMbvmjtuQoncp0FM23SA==
- Thread-topic: prevent alt-f4 from closing Hatari on Windows
----- 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.