diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 2524 | Lisp_Object posn; | 2524 | Lisp_Object posn; |
| 2525 | int row, column; | 2525 | int row, column; |
| 2526 | 2526 | ||
| 2527 | /* Ignore mouse events that were made on frame that | ||
| 2528 | have been deleted. */ | ||
| 2529 | if (! FRAME_LIVE_P (f)) | ||
| 2530 | return Qnil; | ||
| 2531 | |||
| 2527 | pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), | 2532 | pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y), |
| 2528 | &column, &row, 0, 0); | 2533 | &column, &row, 0, 0); |
| 2529 | 2534 | ||