summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2004-11-17 15:50:14 +0000
committerSilenio Quarti <silenio>2004-11-17 15:50:14 +0000
commitf61bcdba679de5ce006cc745a574f009003641dc (patch)
tree193876714513d8eafb92f90478498ebd4fbde4d0 /bundles
parent896755e37a61f26958d5db922bd8a716f70de336 (diff)
downloadeclipse.platform.swt-f61bcdba679de5ce006cc745a574f009003641dc.tar.gz
eclipse.platform.swt-f61bcdba679de5ce006cc745a574f009003641dc.tar.xz
eclipse.platform.swt-f61bcdba679de5ce006cc745a574f009003641dc.zip
68353
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
index a11802da55..cc675f8a5f 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
@@ -652,6 +652,8 @@ void manageChildren () {
Shell shell = getShell ();
shell.createFocusProxy ();
if (!OS.XtIsRealized (handle)) shell.realizeWidget ();
+ int xDisplay = OS.XtDisplay (handle);
+ OS.XSync (xDisplay, false);
embeddedHandle = OS.XtWindow (handle);
}
}