# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1134981017 0 # Node ID 61bd8643b908d72ed68844db841e1e0726442fd6 # Parent 66fc379ae16c27571d3284377dd3c628c7d25fa4 (make_lispy_event): Drag-and-drop items are now stored in member `args' of struct input_event. diff -r 66fc379ae16c -r 61bd8643b908 src/keyboard.c --- a/src/keyboard.c Mon Dec 19 08:29:43 2005 +0000 +++ b/src/keyboard.c Mon Dec 19 08:30:17 2005 +0000 @@ -5805,14 +5805,8 @@ Lisp_Object head, position; Lisp_Object files; - /* The frame_or_window field should be a cons of the frame in - which the event occurred and a list of the filenames - dropped. */ - if (! CONSP (event->frame_or_window)) - abort (); - - f = XFRAME (XCAR (event->frame_or_window)); - files = XCDR (event->frame_or_window); + f = XFRAME (event->frame_or_window); + files = event->arg; /* Ignore mouse events that were made on frames that have been deleted. */