summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-22 22:00:43 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-22 22:00:43 +0000
commit08b22ddebf7d47062c6670dfca90915d52f02e75 (patch)
tree5ef3b2d6912ad0c7785cec93c9aa68b8129b434c /gdk/gdkdnd.c
parent1f8fd8871bccd2da7a2fa2f656aa432e3900a96c (diff)
downloadgdk-pixbuf-08b22ddebf7d47062c6670dfca90915d52f02e75.tar.gz
Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't
Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't know why this is necessary, but it is. * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where Motif flag field in response was getting wrong values.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 9c088cbc6..0578a8108 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -2852,12 +2852,12 @@ gdk_drop_reply (GdkDragContext *context,
xev.xclient.data.b[0] = XmDROP_START | 0x80;
xev.xclient.data.b[1] = local_byte_order;
if (ok)
- xev.xclient.data.s[2] = XmDROP_COPY |
+ xev.xclient.data.s[1] = XmDROP_COPY |
(XmDROP_SITE_VALID << 4) |
(XmDROP_NOOP << 8) |
(XmDROP << 12);
else
- xev.xclient.data.s[2] = XmDROP_NOOP |
+ xev.xclient.data.s[1] = XmDROP_NOOP |
(XmNO_DROP_SITE << 4) |
(XmDROP_NOOP << 8) |
(XmDROP_CANCEL << 12);