sendMouseEvent (SWT.MouseDoubleClick, eventButton, xEvent.state, xEvent);
sendMouseEvent (SWT.MouseDoubleClick, eventButton, xEvent);
int processMouseDown (int callData) {	Display display = getDisplay ();	display.hideToolTip ();	XButtonEvent xEvent = new XButtonEvent ();	OS.memmove (xEvent, callData, XButtonEvent.sizeof);	sendMouseEvent (SWT.MouseDown, xEvent.button, xEvent.state, xEvent);	if (xEvent.button == 2 && hooks (SWT.DragDetect)) {		sendEvent (SWT.DragDetect);	}	if (xEvent.button == 3 && menu != null) {		OS.XmProcessTraversal (handle, OS.XmTRAVERSE_CURRENT);		menu.setVisible (true);	}	int clickTime = display.getDoubleClickTime ();	int lastTime = display.lastTime, eventTime = xEvent.time;	int lastButton = display.lastButton, eventButton = xEvent.button;	if (lastButton == eventButton && lastTime != 0 && Math.abs (lastTime - eventTime) <= clickTime) {		sendMouseEvent (SWT.MouseDoubleClick, eventButton, xEvent.state, xEvent);	}	if (eventTime == 0) eventTime = 1;	display.lastTime = eventTime;	display.lastButton = eventButton;	return 0;}