Re: [hatari-devel] mouse grab/capture

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


Jerome,

Many thanks for your research on this. I did not use the keyboard shortcuts until the original question in this thread. What problems have you seen with mouse grab in 1.7? I admit that I normally use it once so my mouse stays within the Hatari screen when playing games that use the mouse.

I hope your code change is added to the repository soon.


Bob C


On Sat, Jul 13, 2013 at 11:12 AM, Jerome Vernet <vernet.jerome@xxxxxxxxxx> wrote:
There is a single line to add to make MacOsX Menu Shortcut working again (and still use the SDL Ones, except that those already mapped with Cocoa):
setenv ("SDL_ENABLEAPPEVENTS", "1", 1);
in SDLMain.m, in fucntion applicationDidFinishLaunching

Keystroke will be processed before by Cocoa then by SDL if not used by COCOA.
This, from SDL 1.2.8.

More over, the bug (hang) I have with the Falcon Mode (and wich ONLY happen in Falcon mode) is in the use of SDL_SetVideoMode(), in hostscreen.c. When a Flacon boot, it happen to change three time the resolution. The third time, something goes bad with SDL. fixing bpp to 8 do the job, but what are the side effect of bpp=8 ?

JV




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