gl/cocoa: make sure to turn on frame rectangle changes notifications

Default value of property postsFrameChangedNotifications is YES
but it is worth to explicitly enable it.
This commit is contained in:
Julien Isorce 2014-11-03 23:07:34 +00:00
parent a259391c10
commit 2b487ef62b

View file

@ -493,6 +493,7 @@ close_window_cb (gpointer data)
#endif
/* Get notified about changes */
[self setPostsFrameChangedNotifications:YES];
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(reshape:) name: NSViewFrameDidChangeNotification object: self];
[self setWantsBestResolutionOpenGLSurface:YES];