changeset 29313:1d74ff8abe23

(make_lispy_event) [WINDOWS_NT]: Pass a window pointer to glyph_to_pixel_coords, not a frame.
author Jason Rumney <jasonr@gnu.org>
date Tue, 30 May 2000 21:35:02 +0000
parents 8b6842c36473
children 6daef241d794
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue May 30 21:26:59 2000 +0000
+++ b/src/keyboard.c	Tue May 30 21:35:02 2000 +0000
@@ -4705,7 +4705,8 @@
 	    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);