diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-08-03 07:39:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-08-03 07:39:40 +0000 |
commit | f3539c228951e34d990c7df3848cce3f6b0e9f07 (patch) | |
tree | 92917ae160513f4c6da98a29bacf04c2017b74e8 /src/keyboard.c | |
parent | 8e23c287d9678fcc2c58b3a4f7e79b0fa8832e5c (diff) | |
download | emacs-f3539c228951e34d990c7df3848cce3f6b0e9f07.tar.gz |
(make_lispy_event): If the position is not in a window,
at least pass along the frame it is in.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |