Hooked up monitor callback on OS X.

This commit is contained in:
Camilla Berglund 2013-06-06 01:28:01 +02:00
parent ee91dea741
commit f6a9338b06

View File

@ -201,6 +201,11 @@ static void centerCursor(_GLFWwindow *window)
}
}
- (void)applicationDidChangeScreenParameters:(NSNotification *) notification
{
_glfwInputMonitorChange();
}
@end
// Translates Mac OS X key modifiers into GLFW ones