summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widget.c4
1 files changed, 2 insertions, 2 deletions
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. */