sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f));
store_in_alist (alistptr, Qwindow_id,
build_string (buf));
- store_in_alist (alistptr, Qicon_name, f->display.x->icon_name);
+ store_in_alist (alistptr, Qicon_name, f->icon_name);
FRAME_SAMPLE_VISIBILITY (f);
store_in_alist (alistptr, Qvisibility,
(FRAME_VISIBLE_P (f) ? Qt
BLOCK_INPUT;
if (NILP (arg))
result = x_text_icon (f,
- (char *) XSTRING ((!NILP (f->display.x->icon_name)
- ? f->display.x->icon_name
+ (char *) XSTRING ((!NILP (f->icon_name)
+ ? f->icon_name
: f->name))->data);
else
result = x_bitmap_icon (f, arg);
else if (!STRINGP (oldval) && EQ (oldval, Qnil) == EQ (arg, Qnil))
return;
- f->display.x->icon_name = arg;
+ f->icon_name = arg;
if (f->display.x->icon_bitmap != 0)
return;
BLOCK_INPUT;
result = x_text_icon (f,
- (char *) XSTRING ((!NILP (f->display.x->icon_name)
- ? f->display.x->icon_name
+ (char *) XSTRING ((!NILP (f->icon_name)
+ ? f->icon_name
: f->name))->data);
if (result)
text.format = 8;
text.nitems = XSTRING (name)->size;
- icon_name = (!NILP (f->display.x->icon_name)
- ? f->display.x->icon_name
- : name);
+ icon_name = (!NILP (f->icon_name) ? f->icon_name : name);
icon.value = XSTRING (icon_name)->data;
icon.encoding = XA_STRING;
? IconicState
: NormalState));
- x_text_icon (f,
- (char *) XSTRING ((!NILP (f->display.x->icon_name)
- ? f->display.x->icon_name
- : f->name))->data);
+ x_text_icon (f, (char *) XSTRING ((!NILP (f->icon_name)
+ ? f->icon_name
+ : f->name))->data);
UNBLOCK_INPUT;
}
bzero (f->display.x, sizeof (struct x_display));
f->display.x->icon_bitmap = -1;
- f->display.x->icon_name
+ f->icon_name
= x_get_arg (parms, Qicon_name, "iconName", "Title", string);
- if (! STRINGP (f->display.x->icon_name))
- f->display.x->icon_name = Qnil;
+ if (! STRINGP (f->icon_name))
+ f->icon_name = Qnil;
FRAME_X_DISPLAY_INFO (f) = dpyinfo;
#ifdef MULTI_KBOARD