glfw/glfw — pull request #334 by zeux (2014-07-29 16:00:44+00:00)
Title: Fix cursor behavior on OSX

Don't implement resetCursorRects: this occasionally hides the cursor since
an empty cursor is assigned to the window rectangle. Implementing this
method is not required since OS displays the window cursor correctly by
default.

Don't reset cursor mode when window loses focus: once again, OS handles
this correctly, and this means that the window cursor state is restored
when window gains focus again.