Index: Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java =================================================================== RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java,v retrieving revision 1.183 diff -u -r1.183 Shell.java --- Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java 29 Apr 2005 16:35:19 -0000 1.183 +++ Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java 7 May 2005 23:04:12 -0000 @@ -424,7 +424,7 @@ int /*long*/ xDisplay = OS.gdk_x11_drawable_get_xdisplay (window); int /*long*/ xWindow = OS.gdk_x11_drawable_get_xid (window); OS.gdk_error_trap_push (); - OS.XSetInputFocus (xDisplay, xWindow, OS.RevertToParent, OS.gtk_get_current_event_time ()); + OS.XSetInputFocus (xDisplay, xWindow, OS.RevertToParent, OS.CurrentTime); OS.gdk_error_trap_pop (); } else { OS.gdk_window_focus (window, OS.gtk_get_current_event_time ()); Index: Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java =================================================================== RCS file: /home/eclipse/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java,v retrieving revision 1.374 diff -u -r1.374 OS.java --- Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 3 May 2005 16:51:29 -0000 1.374 +++ Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 7 May 2005 23:04:16 -0000 @@ -505,6 +505,7 @@ public static final int Below = 1; public static final int ButtonRelease = 5; public static final int ClientMessage = 33; +public static final int CurrentTime = 0; public static final int CWSibling = 0x20; public static final int CWStackMode = 0x40; public static final int EnterNotify = 7;