diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macfns.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/macfns.c b/src/macfns.c index 3c92499701b..f0d07a9fe55 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -2532,6 +2532,10 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2532 | } | 2532 | } |
| 2533 | 2533 | ||
| 2534 | /* Try out a font which we hope has bold and italic variations. */ | 2534 | /* Try out a font which we hope has bold and italic variations. */ |
| 2535 | #if USE_ATSUI | ||
| 2536 | if (! STRINGP (font)) | ||
| 2537 | font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1"); | ||
| 2538 | #endif | ||
| 2535 | if (! STRINGP (font)) | 2539 | if (! STRINGP (font)) |
| 2536 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); | 2540 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); |
| 2537 | /* If those didn't work, look for something which will at least work. */ | 2541 | /* If those didn't work, look for something which will at least work. */ |
| @@ -3340,6 +3344,10 @@ start_hourglass () | |||
| 3340 | EMACS_TIME delay; | 3344 | EMACS_TIME delay; |
| 3341 | int secs, usecs = 0; | 3345 | int secs, usecs = 0; |
| 3342 | 3346 | ||
| 3347 | /* Don't bother for ttys. */ | ||
| 3348 | if (NILP (Vwindow_system)) | ||
| 3349 | return; | ||
| 3350 | |||
| 3343 | cancel_hourglass (); | 3351 | cancel_hourglass (); |
| 3344 | 3352 | ||
| 3345 | if (INTEGERP (Vhourglass_delay) | 3353 | if (INTEGERP (Vhourglass_delay) |
| @@ -3586,7 +3594,7 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 3586 | FRAME_FONTSET (f) = -1; | 3594 | FRAME_FONTSET (f) = -1; |
| 3587 | f->icon_name = Qnil; | 3595 | f->icon_name = Qnil; |
| 3588 | 3596 | ||
| 3589 | #if 0 /* GLYPH_DEBUG TODO: image support. */ | 3597 | #if GLYPH_DEBUG |
| 3590 | image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; | 3598 | image_cache_refcount = FRAME_X_IMAGE_CACHE (f)->refcount; |
| 3591 | dpyinfo_refcount = dpyinfo->reference_count; | 3599 | dpyinfo_refcount = dpyinfo->reference_count; |
| 3592 | #endif /* GLYPH_DEBUG */ | 3600 | #endif /* GLYPH_DEBUG */ |
| @@ -3630,6 +3638,10 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 3630 | } | 3638 | } |
| 3631 | 3639 | ||
| 3632 | /* Try out a font which we hope has bold and italic variations. */ | 3640 | /* Try out a font which we hope has bold and italic variations. */ |
| 3641 | #if USE_ATSUI | ||
| 3642 | if (! STRINGP (font)) | ||
| 3643 | font = x_new_font (f, "-*-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1"); | ||
| 3644 | #endif | ||
| 3633 | if (! STRINGP (font)) | 3645 | if (! STRINGP (font)) |
| 3634 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); | 3646 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); |
| 3635 | /* If those didn't work, look for something which will at least work. */ | 3647 | /* If those didn't work, look for something which will at least work. */ |