From 862c94ca8e483d0aebcb45f4cae3d59503cf709f Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 19 Dec 2005 08:31:33 +0000 Subject: [PATCH] (x_handle_dnd_message): Drag-and-drop items are now stored in member `args' of struct input_event. --- src/xselect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xselect.c b/src/xselect.c index 4db86c1cc5a..b41a05825ae 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -2727,11 +2727,11 @@ x_handle_dnd_message (f, event, dpyinfo, bufp) mouse_position_for_drop (f, &x, &y); bufp->kind = DRAG_N_DROP_EVENT; - bufp->frame_or_window = Fcons (frame, vec); + bufp->frame_or_window = frame; bufp->timestamp = CurrentTime; bufp->x = make_number (x); bufp->y = make_number (y); - bufp->arg = Qnil; + bufp->arg = vec; bufp->modifiers = 0; return 1;