Commit ec5c4af4 authored by Karl Heuer's avatar Karl Heuer
Browse files

(x_window): Delete duplicate computation.

Change type of reference argument from int to short.
parent 51ce6acd
......@@ -1927,21 +1927,15 @@ x_window (f, window_prompting, minibuffer_only)
char *tem, shell_position[32];
Arg al[2];
int ac = 0;
int ibw;
int menubar_size
= (f->display.x->menubar_widget
? (f->display.x->menubar_widget->core.height
+ f->display.x->menubar_widget->core.border_width)
: 0);
XtVaGetValues (pane_widget,
XtNinternalBorderWidth, &ibw,
NULL);
menubar_size += ibw;
if (FRAME_EXTERNAL_MENU_BAR (f))
{
int ibw;
short ibw;
XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL);
menubar_size += ibw;
}
......
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