diff options
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-03-31 14:52:30 +0000 |
---|---|---|
committer | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-03-31 14:52:30 +0000 |
commit | 3c5e24f2bd8e2562e1a7ea618fcd8255f54745d4 (patch) | |
tree | 862f1f829ab2a0e2c30bb42c6319edda252ec151 /src/widget.c | |
parent | ddc11749b3933fbf52915234a2d11a468bf7a691 (diff) | |
download | emacs-3c5e24f2bd8e2562e1a7ea618fcd8255f54745d4.tar.gz |
(set_frame_size): Dont compute any geometry management.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/widget.c b/src/widget.c index 09fc0f3ecbe..c7f9accde85 100644 --- a/src/widget.c +++ b/src/widget.c @@ -433,22 +433,6 @@ set_frame_size (ew) 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.) |