changeset 8432:ebb72cf97695

(make_lispy_event): If the position is not in a window, at least pass along the frame it is in.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Aug 1994 07:39:40 +0000
parents b4138573c00f
children b14b118e6724
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;