kb = &the_only_kboard;
#endif
- if (dpyinfo->terminal->deleted)
- error ("Terminal is being deleted, can't create new frames on it");
+ if (!dpyinfo->terminal->name)
+ error ("Terminal is not live, can't create new frames on it");
name = x_get_arg (dpyinfo, parms, Qname, "name", "Name", RES_TYPE_STRING);
if (!STRINGP (name)
check_x ();
- if (dpyinfo->terminal->deleted)
- error ("Terminal is being deleted, can't create new frames on it");
+ if (!dpyinfo->terminal->name)
+ error ("Terminal is not live, can't create new frames on it");
parms = Fcopy_alist (parms);