aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-05-01 01:14:09 +0000
committerYAMAMOTO Mitsuharu2006-05-01 01:14:09 +0000
commit15ba779363ab1069b0ddba682de844246e78a72b (patch)
tree1aecf6f903ab6db43c7be028b405620a65d9a5ca /src
parent6dc5c8a75b8ad0aea911c0236e4fdb35e1e0839f (diff)
downloademacs-15ba779363ab1069b0ddba682de844246e78a72b.tar.gz
emacs-15ba779363ab1069b0ddba682de844246e78a72b.zip
(prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar.
(get_glyph_face_and_encoding, get_char_face_and_encoding): Don't distinguish known faces from others.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 65b16da76c3..ecc097343f2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -8954,6 +8954,9 @@ prepare_menu_bars ()
8954 update_menu_bar (f, 0); 8954 update_menu_bar (f, 0);
8955#ifdef HAVE_WINDOW_SYSTEM 8955#ifdef HAVE_WINDOW_SYSTEM
8956 update_tool_bar (f, 0); 8956 update_tool_bar (f, 0);
8957#ifdef MAC_OS
8958 mac_update_title_bar (f, 0);
8959#endif
8957#endif 8960#endif
8958 UNGCPRO; 8961 UNGCPRO;
8959 } 8962 }
@@ -8966,6 +8969,9 @@ prepare_menu_bars ()
8966 update_menu_bar (sf, 1); 8969 update_menu_bar (sf, 1);
8967#ifdef HAVE_WINDOW_SYSTEM 8970#ifdef HAVE_WINDOW_SYSTEM
8968 update_tool_bar (sf, 1); 8971 update_tool_bar (sf, 1);
8972#ifdef MAC_OS
8973 mac_update_title_bar (sf, 1);
8974#endif
8969#endif 8975#endif
8970 } 8976 }
8971 8977
@@ -18520,8 +18526,7 @@ get_glyph_face_and_encoding (f, glyph, char2b, two_byte_p)
18520 sure to use a face suitable for unibyte. */ 18526 sure to use a face suitable for unibyte. */
18521 STORE_XCHAR2B (char2b, 0, glyph->u.ch); 18527 STORE_XCHAR2B (char2b, 0, glyph->u.ch);
18522 } 18528 }
18523 else if (glyph->u.ch < 128 18529 else if (glyph->u.ch < 128)
18524 && glyph->face_id < BASIC_FACE_ID_SENTINEL)
18525 { 18530 {
18526 /* Case of ASCII in a face known to fit ASCII. */ 18531 /* Case of ASCII in a face known to fit ASCII. */
18527 STORE_XCHAR2B (char2b, 0, glyph->u.ch); 18532 STORE_XCHAR2B (char2b, 0, glyph->u.ch);
@@ -18923,7 +18928,7 @@ get_char_face_and_encoding (f, c, face_id, char2b, multibyte_p, display_p)
18923 face_id = FACE_FOR_CHAR (f, face, c); 18928 face_id = FACE_FOR_CHAR (f, face, c);
18924 face = FACE_FROM_ID (f, face_id); 18929 face = FACE_FROM_ID (f, face_id);
18925 } 18930 }
18926 else if (c < 128 && face_id < BASIC_FACE_ID_SENTINEL) 18931 else if (c < 128)
18927 { 18932 {
18928 /* Case of ASCII in a face known to fit ASCII. */ 18933 /* Case of ASCII in a face known to fit ASCII. */
18929 STORE_XCHAR2B (char2b, 0, c); 18934 STORE_XCHAR2B (char2b, 0, c);