diff options
| author | Richard M. Stallman | 1994-10-26 12:57:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-26 12:57:46 +0000 |
| commit | 38971c41570bb0cfe12156c2227e4be295b12803 (patch) | |
| tree | e764e81bd2ed0f1f6f38d1740cb45fdc132707f2 /src | |
| parent | 0a44133e626219188d8260332bc019331ea7bee6 (diff) | |
| download | emacs-38971c41570bb0cfe12156c2227e4be295b12803.tar.gz emacs-38971c41570bb0cfe12156c2227e4be295b12803.zip | |
(set_frame_size): Set app_shell and wmshell the same.
Diffstat (limited to 'src')
| -rw-r--r-- | src/widget.c | 4 |
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) | |||
| 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. */ |