-
Notifications
You must be signed in to change notification settings - Fork 5k
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
GLFW_CURSOR_DISABLED - Mouse click registered outside the window #617
Labels
Milestone
Comments
elmindreda
changed the title
Mac OSX - GLFW_CURSOR_DISABLED - Mouse click registered outside the window
GLFW_CURSOR_DISABLED - Mouse click registered outside the window
Oct 19, 2015
What version of GLFW are you using? |
The version: 3.1.2 On Mon, 19 Oct 2015 at 12:15 Camilla Berglund notifications@github.com
|
elmindreda
added
bug
Bug reports and bugfix pull requests
verified
Reproduced or otherwise verified bugs
labels
Oct 19, 2015
Note to self: Another |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a windowed (not full screen) ogl context on mac osX, with the cursor mode as GLFW_CURSOR_DISABLED, the cursor stays exactly where it was right before opening the windows, so if the windows doesn't overlay the cursor position, the cursor is still visible.
When moving the event are sent to the glfw windows, but when I click the click is actually registered outside the glfw window (ie the window lost focus).
Would it be possible that when setting the cursor to GLFW_CURSOR_DISABLED mode, itmoves to the center of the windows automatically to avoid this kind of issue ?
The text was updated successfully, but these errors were encountered: