changeset 67670:8596872766c6

(x_handle_dnd_message): Drag-and-drop items are now stored in member `args' of struct input_event.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Mon, 19 Dec 2005 08:31:33 +0000
parents 31fb537a065c
children 33e3e3f9ed8b
files src/xselect.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xselect.c	Mon Dec 19 08:31:23 2005 +0000
+++ b/src/xselect.c	Mon Dec 19 08:31:33 2005 +0000
@@ -2727,11 +2727,11 @@
 
   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;