Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse leaving window #56

Closed
double-a opened this issue Nov 9, 2021 · 3 comments
Closed

Mouse leaving window #56

double-a opened this issue Nov 9, 2021 · 3 comments

Comments

@double-a
Copy link

double-a commented Nov 9, 2021

SDL 2 works pretty fine, but sometimes I have the issue that the mouse leaves the window.
E.g. "bridge in the gap" or some labyrinth mazes...
If this happens once it happens again more often.

I noticed that after switching windows (i.e. coming back in SDL_WINDOWEVENT_FOCUS_GAINED) the RelativeMouseMode is lost.
Unfortunately no success yet when setting it again....

@alochmann
Copy link
Contributor

Hi,
thanks for pointing that out. I can replicate that bug on Linux and Windows 10 alike, and I will try to repair it for 1.31 (although it might actually turn out to be a bug within SDL 2). Please don't close this issue until then.

@SentinelProxima
Copy link

Hi, I downloaded the game today hoping to play it over discord streaming with a long-distance friend. Unfortunately this issue is making the game unplayable at the moment. I don't mean to sound pushy, but since you seem to already have plans to fix this, I hope you will let me know if you get it fixed so we can play the game together :)

alochmann added a commit that referenced this issue Aug 10, 2022
@alochmann
Copy link
Contributor

This should should now be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants