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

Window doesn't take mouse input until it reenters window #4

Open
GeeTransit opened this issue Jun 13, 2020 · 1 comment
Open

Window doesn't take mouse input until it reenters window #4

GeeTransit opened this issue Jun 13, 2020 · 1 comment

Comments

@GeeTransit
Copy link
Owner

If the game opens under the mouse, mouse action's aren't detected until the mouse exits and reenters the window. Toggling fullscreen does not fix this.

@GeeTransit
Copy link
Owner Author

The new mouse mode toggle (M key) also needs the mouse to exit and reenter (using Alt+Tab) before GLFW_CURSOR_DISABLED works.

The mouse can be moved out, but is hidden when over the window. Clicking on another window moves the mouse to the top left corner of the original window. Clicking back now takes mouse input (with no limit on mouse movement).

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

1 participant