# HG changeset patch # User Richard M. Stallman # Date 775899580 0 # Node ID ebb72cf976950a9cc94426f8c10ca266e2561321 # Parent b4138573c00f564fdeaf15734586199cb040ad7d (make_lispy_event): If the position is not in a window, at least pass along the frame it is in. diff -r b4138573c00f -r ebb72cf97695 src/keyboard.c --- a/src/keyboard.c Wed Aug 03 07:39:00 1994 +0000 +++ b/src/keyboard.c Wed Aug 03 07:39:40 1994 +0000 @@ -2675,7 +2675,10 @@ window = window_from_coordinates (f, column, row, &part); if (XTYPE (window) != Lisp_Window) - posn = Qnil; + { + window = event->frame_or_window; + posn = Qnil; + } else { int pixcolumn, pixrow;