aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index da8ed3826dc..562c366458b 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1095,7 +1095,7 @@ x_set_icon_type (f, arg, oldval)
1095 if (result) 1095 if (result)
1096 { 1096 {
1097 UNBLOCK_INPUT; 1097 UNBLOCK_INPUT;
1098 error ("No icon window available."); 1098 error ("No icon window available");
1099 } 1099 }
1100 1100
1101 /* If the window was unmapped (and its icon was mapped), 1101 /* If the window was unmapped (and its icon was mapped),
@@ -1110,6 +1110,18 @@ x_set_icon_type (f, arg, oldval)
1110 UNBLOCK_INPUT; 1110 UNBLOCK_INPUT;
1111} 1111}
1112 1112
1113/* Return 1 if frame F wants a bitmap icon. */
1114
1115int
1116x_icon_type (f)
1117 FRAME_PTR f;
1118{
1119 Lisp_Object tem;
1120
1121 tem = assq_no_quit (Qicon_type, f->param_alist);
1122 return (CONSP (tem) && ! NILP (XCONS (tem)->cdr));
1123}
1124
1113extern Lisp_Object x_new_font (); 1125extern Lisp_Object x_new_font ();
1114 1126
1115void 1127void