From 82de1de962caf50feac95fbf2c358ecef09bda99 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 19 Dec 2005 08:30:17 +0000 Subject: [PATCH] (make_lispy_event): Drag-and-drop items are now stored in member `args' of struct input_event. --- src/keyboard.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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. */ -- 2.39.5