On Tue, 27 Jun 2023 at 11:39:04 +0000, Alberto Garcia wrote: > One thing that I just noticed when using the shim is that after > switching the app to full screen mode and then back to windowed mode > the mouse pointer remains trapped inside the window. This only seems > to happen with SDL2 (both with and without SDL_VIDEODRIVER=wayland), I > cannot reproduce that behavior with SDL1. > > If I press alt-tab to switch to another window I can move the pointer > just fine, but if I go back to Fuse and move the pointer inside the > window then it gets trapped again.
I don't know whether this is working as designed, or a bug - either one seems plausible for a machine emulator. If this seems wrong to you as its maintainer, please could you report it to <https://github.com/libsdl-org/sdl12-compat/> with steps that someone who doesn't know anything about this particular package could use to reproduce it? A Debian bug against src:sdl12-compat would also be welcome, but I'm unlikely to be able to do anything about the finer points of mouse capture other than forwarding it upstream, so there will probably be much more efficient information transfer if you can upstream it yourself. (Sorry, I don't think I have ever used a Spectrum, emulated or otherwise, so I don't know where one would look for whatever software and/or firmware might be necessary to test it meaningfully.) Thanks, smcv