You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I disable the cursor using glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED) when the program is started, and when I hit a breakpoint the cursor mode isn't set back to normal. This of course makes it impossible to debug. I'm assuming this is a bug since it gives me the cursor back whenever I alt+tab.
If you replace the body of disableCursor for your platform with that of hideCursor and recompile GLFW, you should be able to use the mouse during a breakpoint.
I'm running Ubuntu 14.04.02 LTS and using CLion.
I disable the cursor using
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED)
when the program is started, and when I hit a breakpoint the cursor mode isn't set back to normal. This of course makes it impossible to debug. I'm assuming this is a bug since it gives me the cursor back whenever I alt+tab.I also noticed that if I put
in my focus callback the cursor remains disabled even if I alt+tab. Is this a bug or something I just don't know about?
The text was updated successfully, but these errors were encountered: