changeset 9708:33dcf295f62a

(set_frame_size): Set app_shell and wmshell the same.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Oct 1994 12:57:46 +0000
parents 6349d2705e2a
children 3ece524b8ea3
files src/widget.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Wed Oct 26 09:32:58 1994 +0000
+++ b/src/widget.c	Wed Oct 26 12:57:46 1994 +0000
@@ -306,10 +306,10 @@
   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.  */