On Tue, Jun 27, 2023 at 01:59:41PM +0100, Simon McVittie wrote:
> 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?

I don't think this works as designed, since the original SDL1 version
does not do that and it would be weird to grab the mouse only after
coming back from full screen... anyway, it's not a terrible problem
and it would not be a blocker for me, but I just reported it:

   https://github.com/libsdl-org/sdl12-compat/issues/301

Thanks!

Berto

Reply via email to