mirror of
https://github.com/glfw/glfw.git
synced 2025-01-19 14:32:49 +00:00
Hooked up monitor callback on OS X.
This commit is contained in:
parent
ee91dea741
commit
f6a9338b06
@ -201,6 +201,11 @@ static void centerCursor(_GLFWwindow *window)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)applicationDidChangeScreenParameters:(NSNotification *) notification
|
||||||
|
{
|
||||||
|
_glfwInputMonitorChange();
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
// Translates Mac OS X key modifiers into GLFW ones
|
// Translates Mac OS X key modifiers into GLFW ones
|
||||||
|
Loading…
Reference in New Issue
Block a user