mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
(Fx_popup_menu): Use line_height field.
This commit is contained in:
parent
230a75fcd2
commit
a8097b6ca4
@ -746,7 +746,7 @@ cached information about equivalent key sequences.")
|
|||||||
f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
|
f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
|
||||||
|
|
||||||
xpos = (FONT_WIDTH (f->display.x->font) * XWINDOW (window)->left);
|
xpos = (FONT_WIDTH (f->display.x->font) * XWINDOW (window)->left);
|
||||||
ypos = (FONT_HEIGHT (f->display.x->font) * XWINDOW (window)->top);
|
ypos = (f->display.x->line_height * XWINDOW (window)->top);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
/* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,
|
/* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,
|
||||||
|
Loading…
Reference in New Issue
Block a user