aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-09 06:32:17 +0000
committerRichard M. Stallman1994-04-09 06:32:17 +0000
commita8097b6ca4eb993289388e35625b0f9d882653ab (patch)
treecf160c76c5034f5c8c82cc643761dd0110e6fa3e /src
parent230a75fcd27b982ce02c8975bd7381a4608ed839 (diff)
downloademacs-a8097b6ca4eb993289388e35625b0f9d882653ab.tar.gz
emacs-a8097b6ca4eb993289388e35625b0f9d882653ab.zip
(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 309137b5a2f..18d51054934 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -746,7 +746,7 @@ cached information about equivalent key sequences.")
746 f = XFRAME (WINDOW_FRAME (XWINDOW (window))); 746 f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
747 747
748 xpos = (FONT_WIDTH (f->display.x->font) * XWINDOW (window)->left); 748 xpos = (FONT_WIDTH (f->display.x->font) * XWINDOW (window)->left);
749 ypos = (FONT_HEIGHT (f->display.x->font) * XWINDOW (window)->top); 749 ypos = (f->display.x->line_height * XWINDOW (window)->top);
750 } 750 }
751 else 751 else
752 /* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME, 752 /* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,