Commit 01cbdba5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_window): Take account of pane widget internal border width.

parent beefa22e
......@@ -1939,6 +1939,13 @@ x_window (f, window_prompting, minibuffer_only)
NULL);
menubar_size += ibw;
if (FRAME_EXTERNAL_MENU_BAR (f))
{
int ibw;
XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL);
menubar_size += ibw;
}
if (window_prompting & USPosition)
{
int left = f->display.x->left_pos;
......
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