globalFrameDidChangeNotification
Posted whenever an NSView object that has attached surfaces (that is, NSOpenGLContext objects) moves to a different screen, or other cases where the NSOpenGLContext object needs to be updated.
Declaration
class let globalFrameDidChangeNotification: NSNotification.NameDiscussion
The notification object is the surface’s view. This notification does not contain a userInfo dictionary.