summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-26 12:57:46 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-26 12:57:46 +0000
commit38971c41570bb0cfe12156c2227e4be295b12803 (patch)
treee764e81bd2ed0f1f6f38d1740cb45fdc132707f2 /src/widget.c
parent0a44133e626219188d8260332bc019331ea7bee6 (diff)
downloademacs-38971c41570bb0cfe12156c2227e4be295b12803.tar.gz
(set_frame_size): Set app_shell and wmshell the same.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c
index b2da437f842..48810928493 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -306,10 +306,10 @@ set_frame_size (ew)
int flags = 0;
Widget wmshell = get_wm_shell ((Widget) ew);
- Widget app_shell = XtParent ((Widget) wmshell);
+ /* Each Emacs shell is now independent and top-level. */
+ Widget app_shell = wmshell;
if (! XtIsSubclass (wmshell, shellWidgetClass)) abort ();
- if (! XtIsSubclass (app_shell, shellWidgetClass)) abort ();
/* We don't need this for the momment. The geometry is computed in
xfns.c. */