]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_lispy_event): Ignore mouse events for deleted frame.
authorRichard M. Stallman <rms@gnu.org>
Fri, 6 May 1994 06:25:15 +0000 (06:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 6 May 1994 06:25:15 +0000 (06:25 +0000)
src/keyboard.c

index 94cbb26464e97c189637647ce5950cdcd25d2a1a..900833c2dcb13a46238636e2ed3dc296c34e40cf 100644 (file)
@@ -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);