]> Pileus Git - ~andy/gtk/commitdiff
Fully initialize the ClientMessage struct
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Dec 2010 13:49:06 +0000 (08:49 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 21 Dec 2010 17:06:56 +0000 (12:06 -0500)
Otherwise we run into warnings from xdnd_status_filter

gdk/x11/gdkdnd-x11.c

index 132bfbc653300dec8b459f3ce4e6a278ef28138d..286aed97e3454920b33bccbcc0d96aec70103c53 100644 (file)
@@ -3628,6 +3628,7 @@ gdk_drag_context_x11_drag_status (GdkDragContext *context,
       xev.xclient.data.l[1] = (action != 0) ? (2 | 1) : 0;
       xev.xclient.data.l[2] = 0;
       xev.xclient.data.l[3] = 0;
+      xev.xclient.data.l[4] = 0;
       if (!xdnd_send_xevent (context_x11, context->source_window, FALSE, &xev))
         GDK_NOTE (DND,
                   g_message ("Send event to %lx failed",