Commit a8097b6c authored by Richard M. Stallman's avatar Richard M. Stallman

(Fx_popup_menu): Use line_height field.

parent 230a75fc
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment