Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 99636
Collapse All | Expand All

(-)Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java (-1 / +2 lines)
Lines 1490-1496 Link Here
1490
	int /*long*/ handle = OS.gtk_window_get_focus (shellHandle);
1490
	int /*long*/ handle = OS.gtk_window_get_focus (shellHandle);
1491
	while (handle != 0) {
1491
	while (handle != 0) {
1492
		if (handle == focusHandle) return true;
1492
		if (handle == focusHandle) return true;
1493
		if (display.getWidget (handle) != null) return false;
1493
		Widget widget = display.getWidget (handle);
1494
		if (widget != null) return widget == this;
1494
		handle = OS.gtk_widget_get_parent (handle);
1495
		handle = OS.gtk_widget_get_parent (handle);
1495
	}
1496
	}
1496
	return false;
1497
	return false;

Return to bug 99636