From: YAMAMOTO Mitsuharu Date: Mon, 19 Dec 2005 08:30:17 +0000 (+0000) Subject: (make_lispy_event): Drag-and-drop items are now X-Git-Tag: emacs-pretest-22.0.90~5199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82de1de962caf50feac95fbf2c358ecef09bda99;p=emacs.git (make_lispy_event): Drag-and-drop items are now stored in member `args' of struct input_event. --- diff --git a/src/keyboard.c b/src/keyboard.c index a09bebf6089..57646f1b0c2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -5805,14 +5805,8 @@ make_lispy_event (event) 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. */