mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Hooked up monitor callback on OS X.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user