aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-04-09 06:32:17 +0000
committerRichard M. Stallman <[email protected]>1994-04-09 06:32:17 +0000
commita8097b6ca4eb993289388e35625b0f9d882653ab (patch)
treecf160c76c5034f5c8c82cc643761dd0110e6fa3e /src
parent230a75fcd27b982ce02c8975bd7381a4608ed839 (diff)
(Fx_popup_menu): Use line_height field.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 309137b5a2..18d5105493 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,