diff options
author | Richard M. Stallman <[email protected]> | 1994-04-09 06:32:17 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-04-09 06:32:17 +0000 |
commit | a8097b6ca4eb993289388e35625b0f9d882653ab (patch) | |
tree | cf160c76c5034f5c8c82cc643761dd0110e6fa3e /src | |
parent | 230a75fcd27b982ce02c8975bd7381a4608ed839 (diff) |
(Fx_popup_menu): Use line_height field.
Diffstat (limited to 'src')
-rw-r--r-- | src/xmenu.c | 2 |
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, |