diff options
| author | Richard M. Stallman | 1994-08-03 07:39:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-03 07:39:40 +0000 |
| commit | 78ced549abd2404ffd552a446dd84be2650df835 (patch) | |
| tree | f75fa289b54f1602d34c70ed6556a495351923c0 /src | |
| parent | 44a4a59b6055ecfe398a0232a84731b227394b1d (diff) | |
| download | emacs-78ced549abd2404ffd552a446dd84be2650df835.tar.gz emacs-78ced549abd2404ffd552a446dd84be2650df835.zip | |
(make_lispy_event): If the position is not in a window,
at least pass along the frame it is in.
Diffstat (limited to 'src')
| -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) | |||
| 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; |