From 6cf7199173984b16c43c0c1a47cc196e9e982e06 Mon Sep 17 00:00:00 2001 From: Sauli Tähkäpää Date: Fri, 12 Dec 2014 11:14:23 +0200 Subject: Fix maximized window ordering. (#15360) Change-Id: Ic994d4e5d74ddc2a554311110640b84bc2e9c802 --- client/src/com/vaadin/client/ui/window/WindowConnector.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client') 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); } -- cgit v1.2.3