From: Richard M. Stallman Date: Fri, 6 May 1994 06:25:15 +0000 (+0000) Subject: (make_lispy_event): Ignore mouse events for deleted frame. X-Git-Tag: emacs-19.34~8502 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5da3133aae3027f85c69e8e5baf9c9054b6fcbea;p=emacs.git (make_lispy_event): Ignore mouse events for deleted frame. --- diff --git a/src/keyboard.c b/src/keyboard.c index 94cbb26464e..900833c2dcb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2524,6 +2524,11 @@ make_lispy_event (event) 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);