Commit 38971c41 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(set_frame_size): Set app_shell and wmshell the same.

parent 0a44133e
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment