aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rolka2013-04-24 05:21:25 (EDT)
committerGerrit Code Review @ Eclipse.org2013-04-24 17:05:10 (EDT)
commitfaefd5bedb014c022adc292665e7a48f86a52030 (patch)
treef19f3024c632a7c25692df420e6964dc62c4ff92
parent7e74b7dc9f1791fe1cecea6d87a2e817c50d7534 (diff)
downloadeclipse.platform.ui-faefd5bedb014c022adc292665e7a48f86a52030.zip
eclipse.platform.ui-faefd5bedb014c022adc292665e7a48f86a52030.tar.gz
eclipse.platform.ui-faefd5bedb014c022adc292665e7a48f86a52030.tar.bz2
Bug 406090 - Workbench window flickers, frequent view redrawsrefs/changes/53/12153/2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SWTPartRenderer.java2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SWTPartRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SWTPartRenderer.java
index cd28a73..59eb457 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SWTPartRenderer.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SWTPartRenderer.java
@@ -96,7 +96,7 @@ public abstract class SWTPartRenderer extends AbstractPartRenderer {
protected void reapplyStyles(Widget widget) {
CSSEngine engine = WidgetElement.getEngine(widget);
if (engine != null) {
- engine.reapply();
+ engine.applyStyles(widget, false);
}
}
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
index b09aa4a..2abafaa 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
@@ -1612,7 +1612,7 @@ public class StackRenderer extends LazyStackRenderer {
}
setCSSInfo(part, cti);
- reapplyStyles(cti);
+ reapplyStyles(cti.getParent());
}
public boolean validateElement(MUIElement element) {