From a8097b6ca4eb993289388e35625b0f9d882653ab Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 9 Apr 1994 06:32:17 +0000 Subject: [PATCH] (Fx_popup_menu): Use line_height field. --- src/xmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmenu.c b/src/xmenu.c index 309137b5a2f..18d51054934 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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, -- 2.39.5