comparison src/widget.c @ 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 786a658d3687
children 13f0227c7c56
comparison
equal deleted inserted replaced
9707:6349d2705e2a 9708:33dcf295f62a
304 unsigned int w = ew->emacs_frame.frame->width; 304 unsigned int w = ew->emacs_frame.frame->width;
305 unsigned int h = ew->emacs_frame.frame->height; 305 unsigned int h = ew->emacs_frame.frame->height;
306 int flags = 0; 306 int flags = 0;
307 307
308 Widget wmshell = get_wm_shell ((Widget) ew); 308 Widget wmshell = get_wm_shell ((Widget) ew);
309 Widget app_shell = XtParent ((Widget) wmshell); 309 /* Each Emacs shell is now independent and top-level. */
310 Widget app_shell = wmshell;
310 311
311 if (! XtIsSubclass (wmshell, shellWidgetClass)) abort (); 312 if (! XtIsSubclass (wmshell, shellWidgetClass)) abort ();
312 if (! XtIsSubclass (app_shell, shellWidgetClass)) abort ();
313 313
314 /* We don't need this for the momment. The geometry is computed in 314 /* We don't need this for the momment. The geometry is computed in
315 xfns.c. */ 315 xfns.c. */
316 #if 0 316 #if 0
317 /* If the EmacsFrame doesn't have a geometry but the shell does, 317 /* If the EmacsFrame doesn't have a geometry but the shell does,