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

(cherry picked from commit 347d839688)
This commit is contained in:
François Lapointe
2015-08-23 18:07:47 +02:00
committed by Douglas Drumond
parent 99f1453165
commit 20c3851c55
+1 -1
View File
@@ -1023,7 +1023,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