# HG changeset patch # User Richard M. Stallman # Date 765873137 0 # Node ID 52b64d32628785fa275d9c82aa25e36e12bac8d4 # Parent 51de9400bf88925678242ef98f3c6fd0d1db2e3f (Fx_popup_menu): Use line_height field. diff -r 51de9400bf88 -r 52b64d326287 src/xmenu.c --- 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,