diff options
author | Artur Signell <artur@vaadin.com> | 2013-11-11 16:26:41 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-11-11 16:26:41 +0200 |
commit | 2f9bcc0c210dafecfdc2943b8603fa4f41a9f16f (patch) | |
tree | e9f3c986435235fdf4712358e0b0f57162a53237 /server | |
parent | 201184b40eee092174ae899e34b4302b6fb5551a (diff) | |
parent | fefedeab68461ebc04fd45f91a35835fc9026a56 (diff) | |
download | vaadin-framework-2f9bcc0c210dafecfdc2943b8603fa4f41a9f16f.tar.gz vaadin-framework-2f9bcc0c210dafecfdc2943b8603fa4f41a9f16f.zip |
Merge commit 'fefedeab68461ebc04fd45f91a35835fc9026a56'
Conflicts:
client/src/com/vaadin/client/ui/VWindow.java
Change-Id: I03768d21133066aed5ff70b8c6df9e2761eb4e4e
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/Window.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Window.java b/server/src/com/vaadin/ui/Window.java index 8e7c6dbc80..d3afdaacf1 100644 --- a/server/src/com/vaadin/ui/Window.java +++ b/server/src/com/vaadin/ui/Window.java @@ -82,6 +82,16 @@ public class Window extends Panel implements FocusNotifier, BlurNotifier, public void windowModeChanged(WindowMode newState) { setWindowMode(newState); } + + @Override + public void windowMoved(int x, int y) { + if (x != getState(false).positionX) { + setPositionX(x); + } + if (y != getState(false).positionY) { + setPositionY(y); + } + } }; /** |