comparison src/keyboard.c @ 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 d97339356ae6
children 0d7af9e98916
comparison
equal deleted inserted replaced
8431:b4138573c00f 8432:ebb72cf97695
2673 } 2673 }
2674 2674
2675 window = window_from_coordinates (f, column, row, &part); 2675 window = window_from_coordinates (f, column, row, &part);
2676 2676
2677 if (XTYPE (window) != Lisp_Window) 2677 if (XTYPE (window) != Lisp_Window)
2678 posn = Qnil; 2678 {
2679 window = event->frame_or_window;
2680 posn = Qnil;
2681 }
2679 else 2682 else
2680 { 2683 {
2681 int pixcolumn, pixrow; 2684 int pixcolumn, pixrow;
2682 column -= XINT (XWINDOW (window)->left); 2685 column -= XINT (XWINDOW (window)->left);
2683 row -= XINT (XWINDOW (window)->top); 2686 row -= XINT (XWINDOW (window)->top);