diff options
| author | Jason Rumney | 2000-05-30 21:35:02 +0000 |
|---|---|---|
| committer | Jason Rumney | 2000-05-30 21:35:02 +0000 |
| commit | e1bfeab2bdb0c225a42e1c0b5f129b507ed37fb8 (patch) | |
| tree | 86f090a1b6bcf62620e3c5b71cdf17f5b6dbe214 | |
| parent | f73f57bd8d13c8196154f124724512f3569324fe (diff) | |
| download | emacs-e1bfeab2bdb0c225a42e1c0b5f129b507ed37fb8.tar.gz emacs-e1bfeab2bdb0c225a42e1c0b5f129b507ed37fb8.zip | |
(make_lispy_event) [WINDOWS_NT]: Pass a window pointer to
glyph_to_pixel_coords, not a frame.
| -rw-r--r-- | src/keyboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 9a00e7c89ce..a402b44f1c0 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4705,7 +4705,8 @@ make_lispy_event (event) | |||
| 4705 | int pixcolumn, pixrow; | 4705 | int pixcolumn, pixrow; |
| 4706 | column -= XINT (XWINDOW (window)->left); | 4706 | column -= XINT (XWINDOW (window)->left); |
| 4707 | row -= XINT (XWINDOW (window)->top); | 4707 | row -= XINT (XWINDOW (window)->top); |
| 4708 | glyph_to_pixel_coords (f, column, row, &pixcolumn, &pixrow); | 4708 | glyph_to_pixel_coords (XWINDOW(window), column, row, |
| 4709 | &pixcolumn, &pixrow); | ||
| 4709 | XSETINT (event->x, pixcolumn); | 4710 | XSETINT (event->x, pixcolumn); |
| 4710 | XSETINT (event->y, pixrow); | 4711 | XSETINT (event->y, pixrow); |
| 4711 | 4712 | ||