summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-02 00:45:44 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-02 00:45:44 +0000
commit59ac120edb86154994d2511f1efd7597e889dab1 (patch)
tree7fee050f237b2656992f0ad6c79cba35582ab219 /src/xfns.c
parent95713d0fea17f29eb014772ef2446cef4e4852e0 (diff)
downloademacs-59ac120edb86154994d2511f1efd7597e889dab1.tar.gz
(Fx_create_frame): Set the size_hint_flags field.
Don't call x_calc_absolute_position.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 9a2555c542a..8f01f66ee15 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1862,7 +1862,7 @@ x_window (f, window_prompting, minibuffer_only)
XtSetValues (shell_widget, al, ac);
}
- x_calc_absolute_position (f, window_prompting);
+ x_calc_absolute_position (f);
XtManageChild (pane_widget);
XtRealizeWidget (shell_widget);
@@ -2258,6 +2258,8 @@ be shared by the new frame.")
f->display.x->win_gravity = NorthWestGravity;
}
+ f->display.x->size_hint_flags = window_prompting;
+
#ifdef USE_X_TOOLKIT
x_window (f, window_prompting, minibuffer_only);
#else