Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ec5c4af4
Commit
ec5c4af4
authored
Jun 21, 1994
by
Karl Heuer
Browse files
(x_window): Delete duplicate computation.
Change type of reference argument from int to short.
parent
51ce6acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
src/xfns.c
src/xfns.c
+1
-7
No files found.
src/xfns.c
View file @
ec5c4af4
...
...
@@ -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
))
{
in
t
ibw
;
shor
t
ibw
;
XtVaGetValues
(
pane_widget
,
XtNinternalBorderWidth
,
&
ibw
,
NULL
);
menubar_size
+=
ibw
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment