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
b01150e7
Commit
b01150e7
authored
Mar 22, 1994
by
Fred Pierresteguy
Browse files
Call XtSetValues not XtVaSetValues.
parent
edaf359b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/widget.c
src/widget.c
+5
-1
No files found.
src/widget.c
View file @
b01150e7
...
...
@@ -438,11 +438,15 @@ set_frame_size (ew)
{
int
len
;
char
*
tem
;
Arg
al
[
2
];
int
ac
=
0
;
sprintf
(
shell_position
,
"=%dx%d"
,
pixel_width
,
pixel_height
);
len
=
strlen
(
shell_position
)
+
1
;
tem
=
(
char
*
)
xmalloc
(
len
);
strncpy
(
tem
,
shell_position
,
len
);
XtVaSetValues
(
wmshell
,
XtNgeometry
,
tem
,
0
);
XtSetArg
(
al
[
ac
],
XtNgeometry
,
tem
);
ac
++
;
XtSetValues
(
wmshell
,
al
,
ac
);
}
#if 0 /* We don't need this also. */
...
...
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