From: Richard M. Stallman Date: Sun, 19 Jun 1994 19:07:47 +0000 (+0000) Subject: (x_window): Take account of pane widget internal border width. X-Git-Tag: emacs-19.34~7884 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=01cbdba594074fc3e8e3ded1edad2e13fdc89c8c;p=emacs.git (x_window): Take account of pane widget internal border width. --- diff --git a/src/xfns.c b/src/xfns.c index a8bcc81cc51..3a5c0883383 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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;