aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c10
1 files 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)
5805 Lisp_Object head, position; 5805 Lisp_Object head, position;
5806 Lisp_Object files; 5806 Lisp_Object files;
5807 5807
5808 /* The frame_or_window field should be a cons of the frame in 5808 f = XFRAME (event->frame_or_window);
5809 which the event occurred and a list of the filenames 5809 files = event->arg;
5810 dropped. */
5811 if (! CONSP (event->frame_or_window))
5812 abort ();
5813
5814 f = XFRAME (XCAR (event->frame_or_window));
5815 files = XCDR (event->frame_or_window);
5816 5810
5817 /* Ignore mouse events that were made on frames that 5811 /* Ignore mouse events that were made on frames that
5818 have been deleted. */ 5812 have been deleted. */