(set_frame_size): Set app_shell and wmshell the same.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 Oct 1994 12:57:46 +0000 (12:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 Oct 1994 12:57:46 +0000 (12:57 +0000)
src/widget.c

index b2da437..4881092 100644 (file)
@@ -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.  */