mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
OSX set cursor position not working in fullscreen mode
The cursor position was not set because the fullscreen window was not considered to be in focus.
This commit is contained in:
parent
9369545bb4
commit
28a0dc0fb9
@ -60,6 +60,8 @@ static void enterFullscreenMode(_GLFWwindow* window)
|
||||
|
||||
[window->ns.view enterFullScreenMode:window->monitor->ns.screen
|
||||
withOptions:nil];
|
||||
|
||||
_glfwInputWindowFocus(window, GL_TRUE);
|
||||
}
|
||||
|
||||
// Leave fullscreen mode
|
||||
|
Loading…
Reference in New Issue
Block a user