comparison src/xfns.c @ 15942:ff30ec8aab54

(x_window): Don't add ibw to menubar_size.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Aug 1996 13:40:00 +0000
parents dbc8c9c9d819
children 0e148af7d4ec
comparison
equal deleted inserted replaced
15941:f063cae001ee 15942:ff30ec8aab54
2607 ? (f->output_data.x->menubar_widget->core.height 2607 ? (f->output_data.x->menubar_widget->core.height
2608 + f->output_data.x->menubar_widget->core.border_width) 2608 + f->output_data.x->menubar_widget->core.border_width)
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
2621 /* Motif seems to need this amount added to the sizes 2624 /* Motif seems to need this amount added to the sizes
2622 specified for the shell widget. The Athena/Lucid widgets don't. 2625 specified for the shell widget. The Athena/Lucid widgets don't.