]> source.dussan.org Git - vaadin-framework.git/commitdiff
Send the initial browser window size with the first server request (#9017)
authorArtur Signell <artur@vaadin.com>
Thu, 28 Jun 2012 18:36:43 +0000 (21:36 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 28 Jun 2012 18:36:43 +0000 (21:36 +0300)
src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java

index 1a62e566adb1917415242fc4141451b10eac498f..d6e75c2d67c99a1764c12d8e9535116f722773a8 100644 (file)
@@ -246,6 +246,11 @@ public class RootConnector extends AbstractComponentContainerConnector
                     getWidget().currentFragment, false);
         }
 
+        if (firstPaint) {
+            // Queue the initial window size to be sent with the following
+            // request.
+            getWidget().performSizeCheck();
+        }
         getWidget().rendering = false;
     }