summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-06-28 21:36:43 +0300
committerArtur Signell <artur@vaadin.com>2012-06-28 21:36:43 +0300
commitfca1779772808cda5d1dc5d75688069362d2b993 (patch)
tree618b0f98178f11cbf840276b936732b53f4077b5 /src
parent9d4289ea256db682a6c4f85daf033fdb9522cc03 (diff)
downloadvaadin-framework-fca1779772808cda5d1dc5d75688069362d2b993.tar.gz
vaadin-framework-fca1779772808cda5d1dc5d75688069362d2b993.zip
Send the initial browser window size with the first server request (#9017)
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java b/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java
index 1a62e566ad..d6e75c2d67 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/root/RootConnector.java
@@ -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;
}