Call XtSetValues not XtVaSetValues.
This commit is contained in:
parent
edaf359bcf
commit
b01150e7ca
1 changed files with 5 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue