diff src/keyboard.c @ 7351:f5cf08a3a645

(make_lispy_event): Ignore mouse events for deleted frame.
author Richard M. Stallman <rms@gnu.org>
date Fri, 06 May 1994 06:25:15 +0000
parents c107ec7641ec
children 3774d6d8a5ee
line wrap: on
line diff
--- a/src/keyboard.c	Fri May 06 06:06:08 1994 +0000
+++ b/src/keyboard.c	Fri May 06 06:25:15 1994 +0000
@@ -2524,6 +2524,11 @@
 	    Lisp_Object posn;
 	    int row, column;
 
+	    /* Ignore mouse events that were made on frame that
+	       have been deleted.  */
+	    if (! FRAME_LIVE_P (f))
+	      return Qnil;
+
 	    pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y),
 				   &column, &row, 0, 0);