From: Jason Rumney Date: Tue, 30 May 2000 21:35:02 +0000 (+0000) Subject: (make_lispy_event) [WINDOWS_NT]: Pass a window pointer to X-Git-Tag: emacs-pretest-21.0.90~3614 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1bfeab2bdb0c225a42e1c0b5f129b507ed37fb8;p=emacs.git (make_lispy_event) [WINDOWS_NT]: Pass a window pointer to glyph_to_pixel_coords, not a frame. --- 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);