From e1bfeab2bdb0c225a42e1c0b5f129b507ed37fb8 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Tue, 30 May 2000 21:35:02 +0000 Subject: [PATCH] (make_lispy_event) [WINDOWS_NT]: Pass a window pointer to glyph_to_pixel_coords, not a frame. --- src/keyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) int pixcolumn, pixrow; column -= XINT (XWINDOW (window)->left); row -= XINT (XWINDOW (window)->top); - glyph_to_pixel_coords (f, column, row, &pixcolumn, &pixrow); + glyph_to_pixel_coords (XWINDOW(window), column, row, + &pixcolumn, &pixrow); XSETINT (event->x, pixcolumn); XSETINT (event->y, pixrow); -- 2.39.5