Mercurial > emacs
comparison src/keyboard.c @ 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 | c1c05b2a382c |
children | dfb72889ff52 |
comparison
equal
deleted
inserted
replaced
29312:8b6842c36473 | 29313:1d74ff8abe23 |
---|---|
4703 else | 4703 else |
4704 { | 4704 { |
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 |
4712 if (part == 1) | 4713 if (part == 1) |
4713 posn = Qmode_line; | 4714 posn = Qmode_line; |