(make_lispy_event): If the position is not in a window,

at least pass along the frame it is in.
This commit is contained in:
Richard M. Stallman 1994-08-03 07:39:40 +00:00
parent 44a4a59b60
commit 78ced549ab

View file

@ -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;