summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
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);
}
}