Hooked up monitor callback on OS X.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent ee91dea741
commit f6a9338b06
  1. 5
      src/cocoa_window.m

@ -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…
Cancel
Save