Index: gdk/x11/gdkevents-x11.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/gdkevents-x11.c,v
retrieving revision 1.143
diff -p -u -r1.143 gdkevents-x11.c
--- gdk/x11/gdkevents-x11.c	17 Nov 2004 00:55:10 -0000	1.143
+++ gdk/x11/gdkevents-x11.c	5 Jan 2005 03:38:04 -0000
@@ -2069,6 +2069,8 @@ gdk_wm_protocols_filter (GdkXEvent *xev,
       
       event->any.type = GDK_DELETE;
 
+      gdk_x11_window_set_user_time (win, xevent->xclient.data.l[1]);
+
       return GDK_FILTER_TRANSLATE;
     }
   else if (atom == gdk_x11_get_xatom_by_name_for_display (display, "WM_TAKE_FOCUS"))
