mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
(make_lispy_event) [WINDOWS_NT]: Pass a window pointer to
glyph_to_pixel_coords, not a frame.
This commit is contained in:
parent
f73f57bd8d
commit
e1bfeab2bd
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue