summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-11-11 16:26:41 +0200
committerArtur Signell <artur@vaadin.com>2013-11-11 16:26:41 +0200
commit2f9bcc0c210dafecfdc2943b8603fa4f41a9f16f (patch)
treee9f3c986435235fdf4712358e0b0f57162a53237 /server
parent201184b40eee092174ae899e34b4302b6fb5551a (diff)
parentfefedeab68461ebc04fd45f91a35835fc9026a56 (diff)
downloadvaadin-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.java10
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);
+ }
+ }
};
/**