# HG changeset patch # User Fred Pierresteguy # Date 765125550 0 # Node ID c0a3d01237edd05cd09042d5bf74c1c556745a5e # Parent f5b781f337895db27f47144fb73a38a8c99505d4 (set_frame_size): Dont compute any geometry management. diff -r f5b781f33789 -r c0a3d01237ed src/widget.c --- a/src/widget.c Thu Mar 31 14:50:46 1994 +0000 +++ b/src/widget.c Thu Mar 31 14:52:30 1994 +0000 @@ -433,22 +433,6 @@ ew->core.width = pixel_width; ew->core.height = pixel_height; - /* Compute the geometry of the toplevel shell because on some platforms - when the geometry is not set, the widget children are resized. */ - { - 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); - XtSetArg (al[ac], XtNgeometry, tem); ac++; - XtSetValues (wmshell, al, ac); - } - #if 0 /* We don't need this also. */ /* If a position was specified, assign it to the shell widget. (Else WM won't do anything with it.)