# HG changeset patch # User Richard M. Stallman # Date 768205515 0 # Node ID f5cf08a3a6457c513e601e731bdfe6cd28670bfd # Parent 542ab48d0f184a569ecad3233da5cad3ba352ca9 (make_lispy_event): Ignore mouse events for deleted frame. diff -r 542ab48d0f18 -r f5cf08a3a645 src/keyboard.c --- 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);