View | Details | Raw Unified | Return to bug 72784
Collapse All | Expand All

(-)Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java (-1 / +1 lines)
Lines 424-430 Link Here
424
		int /*long*/ xDisplay = OS.gdk_x11_drawable_get_xdisplay (window);
424
		int /*long*/ xDisplay = OS.gdk_x11_drawable_get_xdisplay (window);
425
		int /*long*/ xWindow = OS.gdk_x11_drawable_get_xid (window);
425
		int /*long*/ xWindow = OS.gdk_x11_drawable_get_xid (window);
426
		OS.gdk_error_trap_push ();
426
		OS.gdk_error_trap_push ();
427
		OS.XSetInputFocus (xDisplay, xWindow, OS.RevertToParent, OS.gtk_get_current_event_time ());
427
		OS.XSetInputFocus (xDisplay, xWindow, OS.RevertToParent, OS.CurrentTime);
428
		OS.gdk_error_trap_pop ();
428
		OS.gdk_error_trap_pop ();
429
	} else {
429
	} else {
430
		OS.gdk_window_focus (window, OS.gtk_get_current_event_time ());
430
		OS.gdk_window_focus (window, OS.gtk_get_current_event_time ());
(-)Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java (+1 lines)
Lines 505-510 Link Here
505
public static final int Below = 1;
505
public static final int Below = 1;
506
public static final int ButtonRelease = 5;
506
public static final int ButtonRelease = 5;
507
public static final int ClientMessage = 33;
507
public static final int ClientMessage = 33;
508
public static final int CurrentTime = 0;
508
public static final int CWSibling = 0x20;
509
public static final int CWSibling = 0x20;
509
public static final int CWStackMode = 0x40;
510
public static final int CWStackMode = 0x40;
510
public static final int EnterNotify = 7;
511
public static final int EnterNotify = 7;

Return to bug 72784