sdl12-compat
sdl12-compat copied to clipboard
Fuse ZX Spectrum emulator: mouse grab after returning from full screen
I have been testing the Fuse ZX Spectrum emulator with sdl12-compat and although it seems to work perfectly for the most part I noticed one difference when compared to the pure SDL1 version.
This can be tested with Debian bookworm or testing/sid.
- Install
fuse-emulator-sdlandlibsdl1.2-compat - Run
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/sdl12-compat fuse-sdl -g 3x(the-g 3xoption is only used to scale the screen, otherwise it will look very small on a modern display). - If you see a warning about a missing Spectrum ROM simply press enter.
- Now you should see the initial Spectrum screen (an empty window with a copyright message).
- Observe that you can move the mouse pointer around the screen normally.
- Switch to full screen mode by pressing
F4, thens, then enter. - Switch back to windowed mode by pressing again
F4, thens, then enter.
- Expected behavior: you should be able to move the mouse pointer the same as before.
- Observed behavior: the mouse pointer is trapped inside the Fuse window. You can still press alt-tab to change the active window and then move the pointer to another position, but as soon as it goes inside the Fuse window it will be trapped again.
You can close the emulator by pressing F10.
If you run fuse-sdl without the compat layer (i.e. without LD_LIBRARY_PATH) this problem doesn't happen.