[gtk+/gdk-backend: 20/91] Fully initialize the ClientMessage struct
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend: 20/91] Fully initialize the ClientMessage struct
- Date: Sat, 18 Dec 2010 01:07:30 +0000 (UTC)
commit f83ebf4d059d12242301edef4c68133f3e210f90
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 10 08:49:06 2010 -0500
Fully initialize the ClientMessage struct
Otherwise we run into warnings from xdnd_status_filter
gdk/x11/gdkdnd-x11.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 132bfbc..286aed9 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]