Re: [PATCH v2] ui/cocoa: Remove the uses of full screen APIs

2021-02-22 Thread Gerd Hoffmann
Hi, > The detections of [NSView -enterFullScreen:] and > [NSView -exitFullScreen:] were wrong. A detection is coded as: > [NSView respondsToSelector:@selector(exitFullScreenModeWithOptions:)] > but it should be: > [NSView instancesRespondToSelector:@selector(exitFullScreenModeWithOptions:)] >

[PATCH v2] ui/cocoa: Remove the uses of full screen APIs

2021-02-19 Thread Akihiko Odaki
The detections of [NSView -enterFullScreen:] and [NSView -exitFullScreen:] were wrong. A detection is coded as: [NSView respondsToSelector:@selector(exitFullScreenModeWithOptions:)] but it should be: [NSView instancesRespondToSelector:@selector(exitFullScreenModeWithOptions:)] Because of those