if (x != lastX) { lastX = x; if (mapped) sendEvent (SWT.Move); }
int /*long*/ gtk_size_allocate (int /*long*/ widget, int /*long*/ allocation) {	boolean mapped = OS.GTK_WIDGET_MAPPED (widget); 	int x = OS.GTK_WIDGET_X (widget);	int width = OS.GTK_WIDGET_WIDTH (widget);	if (width != lastWidth) {		lastWidth = width;		if (mapped) sendEvent (SWT.Resize);	}	if (x != lastX) {		lastX = x;		if (mapped) sendEvent (SWT.Move);	}	return 0;}