dlGetMousePos always returns 0.0,0.0

bonsaiscott wrote on Friday, July 18, 2014:

Sorry, dlGetMousePos is a wrapper

double x, y;
glfwGetCursorPos(window, &x, &y);
printf("(%f,%f)\n", (float)x, (float)y);

3 displays all off the same GPU
App running full-screen on display 0 (although I’ve tried the others)
However, the mouse cursor is always the spinning wait icon for the entire time the app is running

I think there’s something fundamental that I’m doing wrong. Any suggestions?

elmindreda wrote on Friday, July 18, 2014:

http://www.glfw.org/docs/latest/quick.html#quick_process_events

bonsaiscott wrote on Friday, July 18, 2014:

Read that already.
glfwPollEvents() gets called from the main thread every 100 ms.
glfwSwapBuffers() gets called periodically

I’ve registered a mouse button call-back, I click the mouse button in the full-screen display but it never gets called

I’ve registered a key call-back, I type on the kb when the full-screen display has focus but it never gets called

For some reason the full-screen window is always ‘busy’ (aforementioned spinning ‘busy’ mouse cursor). I think this is the source of my issues, but I don’t know how to solve that.