aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-09-18 16:01:37 -0400
committerChong Yidong2011-09-18 16:01:37 -0400
commit33ed493bca4647ab949193104d7e49c95c095bc8 (patch)
treea959d36bd8cd59d9220bc49bbdfb266fb5650c8b /src
parent72753f87ca435108ba039078dfa0c833aefb453c (diff)
downloademacs-33ed493bca4647ab949193104d7e49c95c095bc8.tar.gz
emacs-33ed493bca4647ab949193104d7e49c95c095bc8.zip
Fix handling of X resource for window icons.
* src/xfns.c (Fx_create_frame): Handle bitmapIcon resource as a boolean. * doc/emacs/cmdargs.texi (Icons X): Fix description of Emacs icon. * doc/emacs/xresources.texi (Table of Resources): Fix documentation of bitmapIcon. * doc/lispref/frames.texi (Management Parameters): Fix description of icon-type parameter. Fixes: debbugs:9154
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xfns.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1e110cc5139..8c223cc374e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-09-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * xfns.c (Fx_create_frame): Handle the bitmapIcon resource as
4 boolean (Bug#9154).
5
12011-09-18 Eli Zaretskii <eliz@gnu.org> 62011-09-18 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (display_line): Record maximum and minimum buffer 8 * xdisp.c (display_line): Record maximum and minimum buffer
diff --git a/src/xfns.c b/src/xfns.c
index 998c803a7ad..913cde75d91 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3369,7 +3369,7 @@ This function is an internal primitive--use `make-frame' instead. */)
3369 /* We need to do this after creating the X window, so that the 3369 /* We need to do this after creating the X window, so that the
3370 icon-creation functions can say whose icon they're describing. */ 3370 icon-creation functions can say whose icon they're describing. */
3371 x_default_parameter (f, parms, Qicon_type, Qt, 3371 x_default_parameter (f, parms, Qicon_type, Qt,
3372 "bitmapIcon", "BitmapIcon", RES_TYPE_SYMBOL); 3372 "bitmapIcon", "BitmapIcon", RES_TYPE_BOOLEAN);
3373 3373
3374 x_default_parameter (f, parms, Qauto_raise, Qnil, 3374 x_default_parameter (f, parms, Qauto_raise, Qnil,
3375 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN); 3375 "autoRaise", "AutoRaiseLower", RES_TYPE_BOOLEAN);