]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_handle_dnd_message): Drag-and-drop items are now
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 19 Dec 2005 08:31:33 +0000 (08:31 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 19 Dec 2005 08:31:33 +0000 (08:31 +0000)
stored in member `args' of struct input_event.

src/xselect.c

index 4db86c1cc5a8e4a9ce3f49e026154c7f9d044a14..b41a05825ae71e9a04c926046da76edd15849a5c 100644 (file)
@@ -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;