Re: [hatari-devel] OS X devel compiled binary |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] OS X devel compiled binary
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Wed, 11 Nov 2015 20:11:03 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89_us.20150623.gappssmtp.com; s=20150623; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=7vPBNqlOEYaeRINC5IQTVXRIcLCuUWK9LfC7JVIsf0A=; b=Py3M9CRBQioYh5e5oJAXnmdKYyFm0nsy4hmA6kXkb6ImWBfhku3VMKkt+Ozg2Y25np 0wiJ57kQmQg/QOlh2j/PFZzOjpPk9KnudnmKIJaiSWnWyE3+dUrT18EP0ZDtMavqhGPx N3JLz0sLQTHAKyJnoYbbf6XiOPP6fYiBdVRV72qk//Bd3KS5GeFfKi02v1jVhRSRTxmE 2SfYqfmFkJs6AoQfrLxK7ggjDfWIRTG4OQxLaB2zvb4Wa07Kyt2ukJBuigPSbbIb5brT fH08wANVGvnkTFNCXatPpiXLLJN0Fpf5ihzAFxfVJNVyWB/gxO1okUBBl9FeKd0JOeu1 Atpw==
Jerome,
Yes, Alt(Option)-cmd-F does work. However, removing the keyboard shortcuts from the Full Screen and Minimize window menu items resolves the problem. Unlike SDL1, SDL2 does not appear to turn off the OS X system shortcuts when you start the application. However, if I removed the keyboard shortcuts in the NIB file for both Full Screen and Minimize, then the standard Cmd-F (full screen) and Cmd-M (mouse capture) shortcuts work as expected in Hatari.
I do not know the main() problem when you disable the OS X bundle. I think I had that problem as well. When SDL2 was implemented, I think there was a problem with a duplicate main(). The logic to remove it with an #define might be causing the problem of compiling the PPC version since you want to disable the bundle.
Bob C
> On Nov 11, 2015, at 4:29 AM, Jerome Vernet <vernet.jerome@xxxxxxxxxx> wrote:
>
> Le 10/11/2015 22:26, Troed Sångberg a écrit :
>> I compiled a Mac binary of Hatari with today's sources for my own use,
>> posting a link to it here if it's useful for someone else. It's compiled
>> the same way as I do releases so it should work on 10.5 and up and
>> requires no extra libraries to be installed to use.
>>
>> I noticed using CMD-F to switch to fullscreen most often seemed to take
>> "twice" (i.e, entering and exiting directly after). Using the menu to
>> switch worked but then it was tricky to get back to windows mode again.
>> Finally succeeded by pressing CMD-F-F quickly ...
> Seems that's it's a SDL2 bug. alt-cmd-F work.
>
>
> JV
>
>