Commit 78ced549 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

at least pass along the frame it is in.
parent 44a4a59b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment