summaryrefslogtreecommitdiffstats
path: root/src/com/itmill
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-11-28 14:41:01 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-11-28 14:41:01 +0000
commit78203d408d7a61f44d0b97331d97f93a7a722b17 (patch)
tree5e2136aec57f98a1d758043b6dc78ed93fea8034 /src/com/itmill
parent175ddbee0781495177cea4f941f2d16bf6bc2c9b (diff)
downloadvaadin-framework-78203d408d7a61f44d0b97331d97f93a7a722b17.tar.gz
vaadin-framework-78203d408d7a61f44d0b97331d97f93a7a722b17.zip
fixing sub window rendering (broken since some 3021)
svn changeset:3023/svn branch:trunk
Diffstat (limited to 'src/com/itmill')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java b/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java
index dfaa007109..3cb7d73caf 100644
--- a/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java
+++ b/src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java
@@ -869,7 +869,12 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
Paintable p = (Paintable) i.next();
if (p instanceof Component) {
Component component = (Component) p;
- if (component.getWindow() != w
+ Window componentsRoot = component.getWindow();
+ if (componentsRoot.getParent() != null) {
+ // this is a subwindow
+ componentsRoot = (Window) componentsRoot.getParent();
+ }
+ if (componentsRoot != w
|| dirtyPaintabletSet.contains(component.getParent())) {
resultset.remove(p);
}