diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 0eff37ac..ceac4d98 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -197,8 +197,6 @@ static NSRect convertRectToBacking(_GLFWwindow* window, NSRect contentRect) - (void)windowDidResignKey:(NSNotification *)notification { _glfwInputWindowFocus(window, GL_FALSE); - window->cursorMode = GLFW_CURSOR_NORMAL; - _glfwPlatformApplyCursorMode(window); } @end @@ -675,14 +673,6 @@ static int translateKey(unsigned int key) _glfwInputScroll(window, deltaX, deltaY); } -- (void)resetCursorRects -{ - // This makes the cursor dissapear when the window is - // resized or received a drag operation - [self discardCursorRects]; - [self addCursorRect:[self bounds] cursor:_glfw.ns.cursor]; -} - - (NSDragOperation)draggingEntered:(id )sender { if ((NSDragOperationGeneric & [sender draggingSourceOperationMask])