View | Details | Raw Unified | Return to bug 140843 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java (-7 / +10 lines)
Lines 1423-1435 Link Here
1423
	int result = super.XPropertyChange (w, client_data, call_data, continue_to_dispatch);
1423
	int result = super.XPropertyChange (w, client_data, call_data, continue_to_dispatch);
1424
	if ((state & CANVAS) != 0 && (style & SWT.EMBEDDED) != 0) {
1424
	if ((state & CANVAS) != 0 && (style & SWT.EMBEDDED) != 0) {
1425
		XPropertyEvent xPropertyEvent = new XPropertyEvent ();
1425
		XPropertyEvent xPropertyEvent = new XPropertyEvent ();
1426
		OS.memmove(xPropertyEvent, call_data, XPropertyEvent.sizeof);
1426
		System.out.println("call_data=" + call_data);
1427
		if (xPropertyEvent.window == clientWindow) {
1427
		if (call_data != 0) {
1428
			int atom = xPropertyEvent.atom;
1428
			OS.memmove(xPropertyEvent, call_data, XPropertyEvent.sizeof);
1429
			int xDisplay = xPropertyEvent.display;
1429
			if (xPropertyEvent.window == clientWindow) {
1430
			if (atom == OS.XInternAtom (xDisplay, _XEMBED_INFO, false)) {
1430
				int atom = xPropertyEvent.atom;
1431
				updateMapped ();
1431
				int xDisplay = xPropertyEvent.display;
1432
			}
1432
				if (atom == OS.XInternAtom (xDisplay, _XEMBED_INFO, false)) {
1433
					updateMapped ();
1434
				}
1435
		}
1433
		}
1436
		}
1434
	}
1437
	}
1435
	return result;
1438
	return result;

Return to bug 140843