From ef6053684bafa7c34c9fa1517e842ec4a3808d74 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 20 May 2003 21:01:08 +0000 Subject: Comprehensively zero all unused parts of client messages (Mainly Motif DND Tue May 20 15:09:29 2003 Owen Taylor * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively zero all unused parts of client messages (Mainly Motif DND and EWMH). Also, fix a couple places where we were putting contents into Motif DND messages that didn't belong. (#113361, EWMH problem reported by Lubos Lunak) * gtk/gtkselection.c (_gtk_selection_request): Handle the case where the property type for the multiple atoms is ATOM_PAIR by doing the conversions ourselve. This is needed for Xt inter-operation. --- gdk/x11/gdkdisplay-x11.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdk/x11/gdkdisplay-x11.c') diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 20e3058e59..e8fa5c189b 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -823,6 +823,12 @@ broadcast_xmessage (GdkDisplay *display, ++dest; ++src; } + + while (dest != dest_end) + { + *dest = 0; + ++dest; + } XSendEvent (xdisplay, xroot_window, -- cgit v1.2.1