Mercurial > emacs
changeset 6764:52b64d326287
(Fx_popup_menu): Use line_height field.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 09 Apr 1994 06:32:17 +0000 |
parents | 51de9400bf88 |
children | 9be1670e9032 |
files | src/xmenu.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Sat Apr 09 04:15:16 1994 +0000 +++ b/src/xmenu.c Sat Apr 09 06:32:17 1994 +0000 @@ -746,7 +746,7 @@ 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,