? current.patch
? mkinstalldirs
Index: libwnck/window.c
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/window.c,v
retrieving revision 1.44
diff -p -u -r1.44 window.c
--- libwnck/window.c	25 Jul 2004 18:04:21 -0000	1.44
+++ libwnck/window.c	3 Aug 2004 05:14:36 -0000
@@ -789,7 +789,7 @@ wnck_window_unminimize              (Wnc
 {
   g_return_if_fail (WNCK_IS_WINDOW (window));
 
-  _wnck_deiconify (window->priv->xwindow);
+  wnck_window_activate_transient (window);
 }
 
 void
Index: libwnck/xutils.c
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/xutils.c,v
retrieving revision 1.45
diff -p -u -r1.45 xutils.c
--- libwnck/xutils.c	21 Jun 2004 16:48:12 -0000	1.45
+++ libwnck/xutils.c	3 Aug 2004 05:14:39 -0000
@@ -975,6 +975,11 @@ _wnck_activate (Screen *screen,
 		Window  xwindow)
 {
   XEvent xev;
+
+  Time timestamp;
+
+  timestamp = gtk_get_current_event_time();
+  g_assert (timestamp != 0);
   
   xev.xclient.type = ClientMessage;
   xev.xclient.serial = 0;
@@ -983,8 +988,8 @@ _wnck_activate (Screen *screen,
   xev.xclient.window = xwindow;
   xev.xclient.message_type = _wnck_atom_get ("_NET_ACTIVE_WINDOW");
   xev.xclient.format = 32;
-  xev.xclient.data.l[0] = 0;
-  xev.xclient.data.l[1] = 0;
+  xev.xclient.data.l[0] = 2;
+  xev.xclient.data.l[1] = timestamp;
   xev.xclient.data.l[2] = 0;
 
   XSendEvent (gdk_display,
