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 427776 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java (+2 lines)
Lines 4320-4325 public void setEnabled (boolean enabled) { Link Here
4320
		attributes.window_type = OS.GDK_WINDOW_CHILD;
4320
		attributes.window_type = OS.GDK_WINDOW_CHILD;
4321
		enableWindow = OS.gdk_window_new (window, attributes, OS.GDK_WA_X | OS.GDK_WA_Y);
4321
		enableWindow = OS.gdk_window_new (window, attributes, OS.GDK_WA_X | OS.GDK_WA_Y);
4322
		if (enableWindow != 0) {
4322
		if (enableWindow != 0) {
4323
			int notifyMask = OS.GDK_ENTER_NOTIFY_MASK | OS.GDK_LEAVE_NOTIFY_MASK;
4324
				OS.gdk_window_set_events (enableWindow, OS.gdk_window_get_events (enableWindow) & ~notifyMask);
4323
			OS.gdk_window_set_user_data (enableWindow, parentHandle);
4325
			OS.gdk_window_set_user_data (enableWindow, parentHandle);
4324
			if (!OS.GDK_WINDOWING_X11 ()) {
4326
			if (!OS.GDK_WINDOWING_X11 ()) {
4325
				OS.gdk_window_raise (enableWindow);
4327
				OS.gdk_window_raise (enableWindow);

Return to bug 427776