Index: gdk/x11/gdkwindow-x11.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/gdkwindow-x11.c,v
retrieving revision 1.205.2.3
diff -p -u -r1.205.2.3 gdkwindow-x11.c
--- gdk/x11/gdkwindow-x11.c	31 Jul 2004 04:44:43 -0000	1.205.2.3
+++ gdk/x11/gdkwindow-x11.c	20 Aug 2004 21:04:16 -0000
@@ -1722,9 +1722,9 @@ gdk_window_focus (GdkWindow *window,
       xev.xclient.message_type = gdk_x11_get_xatom_by_name_for_display (display,
 									"_NET_ACTIVE_WINDOW");
       xev.xclient.format = 32;
-      xev.xclient.data.l[0] = 0;
-      xev.xclient.data.l[1] = 0;
-      xev.xclient.data.l[2] = 0;
+      xev.xclient.data.l[0] = 1; /* requestor type; we're an app */
+      xev.xclient.data.l[1] = timestamp;
+      xev.xclient.data.l[2] = GDK_WINDOW_XID (window);
       xev.xclient.data.l[3] = 0;
       xev.xclient.data.l[4] = 0;
       
