aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-12-12 11:14:23 +0200
committerSauli Tähkäpää <sauli@vaadin.com>2015-01-20 13:46:02 +0200
commit6cf7199173984b16c43c0c1a47cc196e9e982e06 (patch)
tree47186456161b927e5e74acd82886d73cc3e05e50 /client
parent1c090b9dfe9a2507119c0f1d9e5aa39e93b8541d (diff)
downloadvaadin-framework-6cf7199173984b16c43c0c1a47cc196e9e982e06.tar.gz
vaadin-framework-6cf7199173984b16c43c0c1a47cc196e9e982e06.zip
Fix maximized window ordering. (#15360)
Change-Id: Ic994d4e5d74ddc2a554311110640b84bc2e9c802
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/window/WindowConnector.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/window/WindowConnector.java b/client/src/com/vaadin/client/ui/window/WindowConnector.java
index b3e3c9f70f..703bcbbb5e 100644
--- a/client/src/com/vaadin/client/ui/window/WindowConnector.java
+++ b/client/src/com/vaadin/client/ui/window/WindowConnector.java
@@ -440,7 +440,6 @@ public class WindowConnector extends AbstractSingleComponentContainerConnector
}
} else if (state.windowMode == WindowMode.MAXIMIZED) {
window.setPopupPositionNoUpdate(0, 0);
- window.bringToFront();
}
}
@@ -469,6 +468,10 @@ public class WindowConnector extends AbstractSingleComponentContainerConnector
state.windowMode = WindowMode.MAXIMIZED;
}
updateWindowMode();
+
+ VWindow window = getWidget();
+ window.bringToFront();
+
getRpcProxy(WindowServerRpc.class).windowModeChanged(
state.windowMode);
}