? spelling-eror.patch
Index: gtk/gtkwindow.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkwindow.c,v
retrieving revision 1.281.2.2
diff -p -u -r1.281.2.2 gtkwindow.c
--- gtk/gtkwindow.c	2 Feb 2005 03:54:07 -0000	1.281.2.2
+++ gtk/gtkwindow.c	11 Feb 2005 20:27:31 -0000
@@ -29,6 +29,11 @@
 #include <limits.h>
 #include "gdk/gdk.h"
 #include "gdk/gdkkeysyms.h"
+#ifdef GDK_WINDOWING_X11
+#include <gdk/x11/gdkprivate-x11.h>
+#include <gdk/x11/gdkscreen-x11.h>   /* gdkprivate-x11 uses GDK_SCREEN_X11 */
+                                     /* without defining it                */
+#endif
 
 #include "gtkalias.h"
 #include "gtkprivate.h"
@@ -5932,8 +5937,13 @@ gtk_window_present (GtkWindow *window)
       /* note that gdk_window_focus() will also move the window to
        * the current desktop, for WM spec compliant window managers.
        */
+#ifdef GDK_WINDOWING_X11
+      gdk_window_focus (widget->window,
+                        GDK_DISPLAY_X11 (GDK_WINDOW_DISPLAY (widget->window))->user_time);
+#else
       gdk_window_focus (widget->window,
                         gtk_get_current_event_time ());
+#endif
     }
   else
     {
