diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-10-26 12:57:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-10-26 12:57:46 +0000 |
commit | 38971c41570bb0cfe12156c2227e4be295b12803 (patch) | |
tree | e764e81bd2ed0f1f6f38d1740cb45fdc132707f2 /src/widget.c | |
parent | 0a44133e626219188d8260332bc019331ea7bee6 (diff) | |
download | emacs-38971c41570bb0cfe12156c2227e4be295b12803.tar.gz emacs-38971c41570bb0cfe12156c2227e4be295b12803.tar.bz2 emacs-38971c41570bb0cfe12156c2227e4be295b12803.zip |
(set_frame_size): Set app_shell and wmshell the same.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 4 |
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. */ |