changeset 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 542ab48d0f18
children ef89b78c1a92
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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);