+2008-05-07 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * macfns.c (Fx_create_frame): Make a copy of frame parameters
+ because the original parameters are in pure storage now.
+ (mac_window): Remove unused params. Update callers.
+
2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
* lread.c (substitute_object_recurse): Use lower-level primitives.
/* Create and set up the Mac window for frame F. */
static void
-mac_window (f, window_prompting, minibuffer_only)
+mac_window (f)
struct frame *f;
- long window_prompting;
- int minibuffer_only;
{
BLOCK_INPUT;
check_mac ();
+ parms = Fcopy_alist (parms);
+
/* Use this general default value to start with
until we know if this frame has a specified name. */
Vx_resource_name = Vinvocation_name;
tem = mac_get_arg (parameters, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN);
f->no_split = minibuffer_only || EQ (tem, Qt);
- mac_window (f, window_prompting, minibuffer_only);
+ mac_window (f);
x_icon (f, parameters);
x_make_gc (f);