From: Richard M. Stallman Date: Wed, 3 Aug 1994 07:39:40 +0000 (+0000) Subject: (make_lispy_event): If the position is not in a window, X-Git-Tag: emacs-19.34~7421 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78ced549abd2404ffd552a446dd84be2650df835;p=emacs.git (make_lispy_event): If the position is not in a window, at least pass along the frame it is in. --- diff --git a/src/keyboard.c b/src/keyboard.c index 66b75ea6ea8..76fba2e35ad 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2675,7 +2675,10 @@ make_lispy_event (event) 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;