changeset 67664:61bd8643b908

(make_lispy_event): 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:30:17 +0000
parents 66fc379ae16c
children 98b67f3d9491
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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.  */