]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_lispy_event) [WINDOWS_NT]: Pass a window pointer to
authorJason Rumney <jasonr@gnu.org>
Tue, 30 May 2000 21:35:02 +0000 (21:35 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 30 May 2000 21:35:02 +0000 (21:35 +0000)
glyph_to_pixel_coords, not a frame.

src/keyboard.c

index 9a00e7c89ce1b1cf9af2ce9b16c2558d70cd2da0..a402b44f1c03a6a0ae7fc8ce2bb41c487d916dce 100644 (file)
@@ -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);