aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-27 13:40:00 +0000
committerRichard M. Stallman1996-08-27 13:40:00 +0000
commitf7008aff6a91779ff9547b3e56262e74df392846 (patch)
treefb0438f640cb96a021906d455ad7dc86c5d1d69a /src
parent7aeb7370f3e160c4c39a594b257c43e871ec1d36 (diff)
downloademacs-f7008aff6a91779ff9547b3e56262e74df392846.tar.gz
emacs-f7008aff6a91779ff9547b3e56262e74df392846.zip
(x_window): Don't add ibw to menubar_size.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index a8bf946c596..524720f60a9 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -2609,12 +2609,15 @@ x_window (f, window_prompting, minibuffer_only)
2609 : 0); 2609 : 0);
2610 extern char *lwlib_toolkit_type; 2610 extern char *lwlib_toolkit_type;
2611 2611
2612#if 0 /* Experimentally, we now get the right results
2613 for -geometry -0-0 without this. 24 Aug 96, rms. */
2612 if (FRAME_EXTERNAL_MENU_BAR (f)) 2614 if (FRAME_EXTERNAL_MENU_BAR (f))
2613 { 2615 {
2614 Dimension ibw = 0; 2616 Dimension ibw = 0;
2615 XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL); 2617 XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL);
2616 menubar_size += ibw; 2618 menubar_size += ibw;
2617 } 2619 }
2620#endif
2618 2621
2619 f->output_data.x->menubar_height = menubar_size; 2622 f->output_data.x->menubar_height = menubar_size;
2620 2623