diff options
Diffstat (limited to 'bundles')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java | 2 |
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); } } |