diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2014-12-12 11:14:23 +0200 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2015-01-20 13:46:02 +0200 |
commit | 6cf7199173984b16c43c0c1a47cc196e9e982e06 (patch) | |
tree | 47186456161b927e5e74acd82886d73cc3e05e50 /client | |
parent | 1c090b9dfe9a2507119c0f1d9e5aa39e93b8541d (diff) | |
download | vaadin-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.java | 5 |
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); } |