if ((shell.style & SWT.ON_TOP) != 0) shell.forceActive ();
if (((shell.style & SWT.ON_TOP) != 0) && (((shell.style & SWT.NO_FOCUS) == 0) || ((style & SWT.NO_FOCUS) == 0))) { shell.forceActive(); }
int /*long*/ gtk_button_press_event (int /*long*/ widget, int /*long*/ event) {	GdkEventButton gdkEvent = new GdkEventButton ();	OS.memmove (gdkEvent, event, GdkEventButton.sizeof);	if (gdkEvent.type == OS.GDK_3BUTTON_PRESS) return 0;	Shell shell = _getShell ();	if ((shell.style & SWT.ON_TOP) != 0) shell.forceActive ();	display.dragStartX = (int) gdkEvent.x;	display.dragStartY = (int) gdkEvent.y;	display.dragging = display.dragOverride = false;	int /*long*/ result;	if (gdkEvent.type == OS.GDK_BUTTON_PRESS) {		display.clickCount = 1;		int /*long*/ nextEvent = OS.gdk_event_peek ();		if (nextEvent != 0) {			int eventType = OS.GDK_EVENT_TYPE (nextEvent);			if (eventType == OS.GDK_2BUTTON_PRESS) display.clickCount = 2;			if (eventType == OS.GDK_3BUTTON_PRESS) display.clickCount = 3;			OS.gdk_event_free (nextEvent);		}		result = sendMouseEvent (SWT.MouseDown, gdkEvent.button, display.clickCount, 0, false, gdkEvent.time, gdkEvent.x_root, gdkEvent.y_root, false, gdkEvent.state) ? 0 : 1;		if (isDisposed ()) return 1;		if (gdkEvent.button == 1) {			display.dragOverride = dragOverride () && dragDetect (display.dragStartX, display.dragStartY);			if (display.dragOverride) result = 1;		}		/*		* Pop up the context menu in the button press event for widgets		* that have default operating system menus in order to stop the		* operating system from displaying the menu if necessary.		*/		if ((state & MENU) != 0) {			if (gdkEvent.button == 3) {				if (showMenu ((int)gdkEvent.x_root, (int)gdkEvent.y_root)) {					result = 1;				}			}		}	} else {		display.clickCount = 2;		result = sendMouseEvent (SWT.MouseDoubleClick, gdkEvent.button, display.clickCount, 0, false, gdkEvent.time, gdkEvent.x_root, gdkEvent.y_root, false, gdkEvent.state) ? 0 : 1;		if (isDisposed ()) return 1;	}	if (!shell.isDisposed ()) shell.setActiveControl (this);	return result;}