pub unsafe static NSWindowDidChangeScreenProfileNotification: &'static NSNotificationName
Available on crate feature
NSWindow
only.Expand description
NSWindowDidChangeScreenProfileNotification
is posted when a window’s display’s color profile changes, or when the window moves to a display that has a different color profile. When running on 10.7.3 or later, this notification is still posted for compatibility, but modern applications should instead watch for
NSWindowDidChangeBackingPropertiesNotification,
which is posted for both color space and resolution changes, and facilitates handling both in a single update and redisplay pass.
See also Apple’s documentation