From: Richard M. Stallman Date: Sat, 9 Apr 1994 06:32:17 +0000 (+0000) Subject: (Fx_popup_menu): Use line_height field. X-Git-Tag: emacs-19.34~9089 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8097b6ca4eb993289388e35625b0f9d882653ab;p=emacs.git (Fx_popup_menu): Use line_height field. --- 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,