summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdisplay-x11.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-05-20 21:01:08 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-05-20 21:01:08 +0000
commitef6053684bafa7c34c9fa1517e842ec4a3808d74 (patch)
treed8d2098436cec0d2a7d516bc55e305a2f74a63c6 /gdk/x11/gdkdisplay-x11.c
parent27a0a3bf2251299a8311319610ebdbeb44557b91 (diff)
downloadgtk+-ef6053684bafa7c34c9fa1517e842ec4a3808d74.tar.gz
Comprehensively zero all unused parts of client messages (Mainly Motif DND
Tue May 20 15:09:29 2003 Owen Taylor <otaylor@redhat.com> * 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.
Diffstat (limited to 'gdk/x11/gdkdisplay-x11.c')
-rw-r--r--gdk/x11/gdkdisplay-x11.c6
1 files changed, 6 insertions, 0 deletions
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,