1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

(Fx_popup_menu): Use line_height field.

This commit is contained in:
Richard M. Stallman 1994-04-09 06:32:17 +00:00
parent 230a75fcd2
commit a8097b6ca4

View File

@ -746,7 +746,7 @@ cached information about equivalent key sequences.")
f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
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
/* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,