We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f3dfb commit ab8c155Copy full SHA for ab8c155
1 file changed
ui/drivers/cocoa/apple_platform.h
@@ -49,7 +49,8 @@ typedef enum apple_view_type
49
50
#if defined(HAVE_COCOA_METAL) && !defined(HAVE_COCOATOUCH)
51
@interface WindowListener : NSResponder<NSWindowDelegate>
52
-@property (nonatomic) NSWindow* window;
+/* assign (not retain) - WindowListener is a delegate; the window owns it, not vice versa */
53
+@property (nonatomic, assign) NSWindow *window;
54
@end
55
#endif
56
0 commit comments