diff options
| author | Miles Bader | 2006-02-11 00:11:19 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-02-11 00:11:19 +0000 |
| commit | 0b125475295ac24db12b28e67d349a0ec0020bd3 (patch) | |
| tree | 100578c3b6eb01151eb5c51f0bbe11ca941bd0d5 /src/macterm.c | |
| parent | 380874900ca183ec2fdce91949d841328852d7a8 (diff) | |
| parent | 9d64cd1339707277e541b6c54f847240464f65ec (diff) | |
| download | emacs-0b125475295ac24db12b28e67d349a0ec0020bd3.tar.gz emacs-0b125475295ac24db12b28e67d349a0ec0020bd3.zip | |
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-14
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 58-65)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 22-28)
- Update from CVS
- Merge from emacs--devo--0
- Update from CVS: lisp/gnus.el: Remove bogus comment.
Diffstat (limited to 'src/macterm.c')
| -rw-r--r-- | src/macterm.c | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/src/macterm.c b/src/macterm.c index 8e736f73124..8439a79d65c 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -1028,12 +1028,15 @@ static int cg_text_anti_aliasing_threshold = 8; | |||
| 1028 | static void | 1028 | static void |
| 1029 | init_cg_text_anti_aliasing_threshold () | 1029 | init_cg_text_anti_aliasing_threshold () |
| 1030 | { | 1030 | { |
| 1031 | Lisp_Object val = | 1031 | int threshold; |
| 1032 | Fmac_get_preference (build_string ("AppleAntiAliasingThreshold"), | 1032 | Boolean valid_p; |
| 1033 | Qnil, Qnil, Qnil); | ||
| 1034 | 1033 | ||
| 1035 | if (INTEGERP (val)) | 1034 | threshold = |
| 1036 | cg_text_anti_aliasing_threshold = XINT (val); | 1035 | CFPreferencesGetAppIntegerValue (CFSTR ("AppleAntiAliasingThreshold"), |
| 1036 | kCFPreferencesCurrentApplication, | ||
| 1037 | &valid_p); | ||
| 1038 | if (valid_p) | ||
| 1039 | cg_text_anti_aliasing_threshold = threshold; | ||
| 1037 | } | 1040 | } |
| 1038 | 1041 | ||
| 1039 | static int | 1042 | static int |
| @@ -5301,7 +5304,10 @@ mac_define_frame_cursor (f, cursor) | |||
| 5301 | struct frame *f; | 5304 | struct frame *f; |
| 5302 | Cursor cursor; | 5305 | Cursor cursor; |
| 5303 | { | 5306 | { |
| 5304 | SetThemeCursor (cursor); | 5307 | struct mac_display_info *dpyinfo = FRAME_MAC_DISPLAY_INFO (f); |
| 5308 | |||
| 5309 | if (dpyinfo->x_focus_frame == f) | ||
| 5310 | SetThemeCursor (cursor); | ||
| 5305 | } | 5311 | } |
| 5306 | 5312 | ||
| 5307 | 5313 | ||
| @@ -5856,7 +5862,7 @@ x_raise_frame (f) | |||
| 5856 | if (f->async_visible) | 5862 | if (f->async_visible) |
| 5857 | { | 5863 | { |
| 5858 | BLOCK_INPUT; | 5864 | BLOCK_INPUT; |
| 5859 | SelectWindow (FRAME_MAC_WINDOW (f)); | 5865 | BringToFront (FRAME_MAC_WINDOW (f)); |
| 5860 | UNBLOCK_INPUT; | 5866 | UNBLOCK_INPUT; |
| 5861 | } | 5867 | } |
| 5862 | } | 5868 | } |
| @@ -5870,7 +5876,7 @@ x_lower_frame (f) | |||
| 5870 | if (f->async_visible) | 5876 | if (f->async_visible) |
| 5871 | { | 5877 | { |
| 5872 | BLOCK_INPUT; | 5878 | BLOCK_INPUT; |
| 5873 | SendBehind (FRAME_MAC_WINDOW (f), nil); | 5879 | SendBehind (FRAME_MAC_WINDOW (f), NULL); |
| 5874 | UNBLOCK_INPUT; | 5880 | UNBLOCK_INPUT; |
| 5875 | } | 5881 | } |
| 5876 | } | 5882 | } |
| @@ -5983,7 +5989,6 @@ x_make_frame_visible (f) | |||
| 5983 | 5989 | ||
| 5984 | f->output_data.mac->asked_for_visible = 1; | 5990 | f->output_data.mac->asked_for_visible = 1; |
| 5985 | 5991 | ||
| 5986 | SelectWindow (FRAME_MAC_WINDOW (f)); | ||
| 5987 | CollapseWindow (FRAME_MAC_WINDOW (f), false); | 5992 | CollapseWindow (FRAME_MAC_WINDOW (f), false); |
| 5988 | ShowWindow (FRAME_MAC_WINDOW (f)); | 5993 | ShowWindow (FRAME_MAC_WINDOW (f)); |
| 5989 | } | 5994 | } |
| @@ -9602,6 +9607,8 @@ XTread_socket (sd, expected, hold_quit) | |||
| 9602 | /* So people can tell when we have read the available input. */ | 9607 | /* So people can tell when we have read the available input. */ |
| 9603 | input_signal_count++; | 9608 | input_signal_count++; |
| 9604 | 9609 | ||
| 9610 | ++handling_signal; | ||
| 9611 | |||
| 9605 | #if USE_CARBON_EVENTS | 9612 | #if USE_CARBON_EVENTS |
| 9606 | toolbox_dispatcher = GetEventDispatcherTarget (); | 9613 | toolbox_dispatcher = GetEventDispatcherTarget (); |
| 9607 | 9614 | ||
| @@ -10242,6 +10249,7 @@ XTread_socket (sd, expected, hold_quit) | |||
| 10242 | } | 10249 | } |
| 10243 | #endif | 10250 | #endif |
| 10244 | 10251 | ||
| 10252 | --handling_signal; | ||
| 10245 | UNBLOCK_INPUT; | 10253 | UNBLOCK_INPUT; |
| 10246 | return count; | 10254 | return count; |
| 10247 | } | 10255 | } |