From: Richard M. Stallman Date: Wed, 26 Oct 1994 12:57:46 +0000 (+0000) Subject: (set_frame_size): Set app_shell and wmshell the same. X-Git-Tag: emacs-19.34~6147 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38971c41570bb0cfe12156c2227e4be295b12803;p=emacs.git (set_frame_size): Set app_shell and wmshell the same. --- 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. */