Early-out of resize handling if the window has not been presented yet. Fix regression of the bug addressed in commit 40090e.

This commit is contained in:
François Lapointe
2015-08-23 18:07:47 +02:00
parent 51e413becf
commit 347d839688
+1 -1
View File
@@ -1013,7 +1013,7 @@
return;
}
if (!setupDone || fullScreenEnabled) return;
if (!setupDone || fullScreenEnabled || !windowPresented) return;
// NOTE: Since we have no control over when the window may resize (Cocoa
// may resize automatically) we simply set the view to fill the entire