diff options
| author | Paul Eggert | 2011-10-14 12:11:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-10-14 12:11:46 -0700 |
| commit | 42dbaa0c43d5a6a1d03cdd046de448cf8a671015 (patch) | |
| tree | 36ccc1cd700a5404983013aa465adc84a1682ca7 /src | |
| parent | 91107bd98003435fbeead3325ce694248863da39 (diff) | |
| parent | 3d1337be7b53c158b3b6c4959fa9a7ed8f6f4ed6 (diff) | |
| download | emacs-42dbaa0c43d5a6a1d03cdd046de448cf8a671015.tar.gz emacs-42dbaa0c43d5a6a1d03cdd046de448cf8a671015.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 38 | ||||
| -rw-r--r-- | src/xterm.c | 9 |
2 files changed, 26 insertions, 21 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 11432b45f92..e6416a5a56d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-10-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-10-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Fix integer width and related bugs. | 3 | Fix integer width and related bugs. |
| 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): | 4 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): |
| @@ -789,6 +789,11 @@ | |||
| 789 | rather than rolling our own approximation. | 789 | rather than rolling our own approximation. |
| 790 | (SCROLL_BAR_VEC_SIZE): Remove; not used. | 790 | (SCROLL_BAR_VEC_SIZE): Remove; not used. |
| 791 | 791 | ||
| 792 | 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 793 | |||
| 794 | * xterm.c (frame_highlight, frame_unhighlight): Ignore unexplained | ||
| 795 | errors in XSetWindowBorder (bug#9310). | ||
| 796 | |||
| 792 | 2011-10-13 Dmitry Antipov <dmantipov@yandex.ru> | 797 | 2011-10-13 Dmitry Antipov <dmantipov@yandex.ru> |
| 793 | 798 | ||
| 794 | * editfns.c (Fset_time_zone_rule): Replace free with xfree to | 799 | * editfns.c (Fset_time_zone_rule): Replace free with xfree to |
| @@ -862,8 +867,8 @@ | |||
| 862 | 867 | ||
| 863 | 2011-10-07 Stefan Monnier <monnier@iro.umontreal.ca> | 868 | 2011-10-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 864 | 869 | ||
| 865 | * buffer.c (syms_of_buffer) <enable-multibyte-characters>: Don't | 870 | * buffer.c (syms_of_buffer) <enable-multibyte-characters>: |
| 866 | advertise functionality which we discourage or doesn't work. | 871 | Don't advertise functionality which we discourage or doesn't work. |
| 867 | 872 | ||
| 868 | 2011-10-07 Paul Eggert <eggert@cs.ucla.edu> | 873 | 2011-10-07 Paul Eggert <eggert@cs.ucla.edu> |
| 869 | 874 | ||
| @@ -1129,8 +1134,7 @@ | |||
| 1129 | 2011-09-17 Eli Zaretskii <eliz@gnu.org> | 1134 | 2011-09-17 Eli Zaretskii <eliz@gnu.org> |
| 1130 | 1135 | ||
| 1131 | * xdisp.c (reseat_at_next_visible_line_start): Keep information | 1136 | * xdisp.c (reseat_at_next_visible_line_start): Keep information |
| 1132 | about the current paragraph and restore it after the call to | 1137 | about the current paragraph and restore it after the call to reseat. |
| 1133 | reseat. | ||
| 1134 | 1138 | ||
| 1135 | * bidi.c (MAX_PARAGRAPH_SEARCH): New macro. | 1139 | * bidi.c (MAX_PARAGRAPH_SEARCH): New macro. |
| 1136 | (bidi_find_paragraph_start): Search back for paragraph beginning | 1140 | (bidi_find_paragraph_start): Search back for paragraph beginning |
| @@ -1350,7 +1354,7 @@ | |||
| 1350 | * doprnt.c (doprnt): Support printing ptrdiff_t and intmax_t values. | 1354 | * doprnt.c (doprnt): Support printing ptrdiff_t and intmax_t values. |
| 1351 | (esprintf, exprintf, evxprintf): New functions. | 1355 | (esprintf, exprintf, evxprintf): New functions. |
| 1352 | * keyboard.c (command_loop_level): Now EMACS_INT, not int. | 1356 | * keyboard.c (command_loop_level): Now EMACS_INT, not int. |
| 1353 | (cmd_error): kbd macro iterations count is now EMACS_INT, not int. | 1357 | (cmd_error): Kbd macro iterations count is now EMACS_INT, not int. |
| 1354 | (modify_event_symbol): Do not assume that the length of | 1358 | (modify_event_symbol): Do not assume that the length of |
| 1355 | name_alist_or_stem is safe to alloca and fits in int. | 1359 | name_alist_or_stem is safe to alloca and fits in int. |
| 1356 | (Fexecute_extended_command): Likewise for function name and binding. | 1360 | (Fexecute_extended_command): Likewise for function name and binding. |
| @@ -2094,8 +2098,7 @@ | |||
| 2094 | 2098 | ||
| 2095 | 2011-08-18 Andreas Schwab <schwab@linux-m68k.org> | 2099 | 2011-08-18 Andreas Schwab <schwab@linux-m68k.org> |
| 2096 | 2100 | ||
| 2097 | * process.c (Fnetwork_interface_list): Correctly determine buffer | 2101 | * process.c (Fnetwork_interface_list): Correctly determine buffer size. |
| 2098 | size. | ||
| 2099 | 2102 | ||
| 2100 | 2011-08-17 Chong Yidong <cyd@stupidchicken.com> | 2103 | 2011-08-17 Chong Yidong <cyd@stupidchicken.com> |
| 2101 | 2104 | ||
| @@ -2140,15 +2143,10 @@ | |||
| 2140 | 2143 | ||
| 2141 | 2011-08-15 Eli Zaretskii <eliz@gnu.org> | 2144 | 2011-08-15 Eli Zaretskii <eliz@gnu.org> |
| 2142 | 2145 | ||
| 2143 | * biditype.h: File removed. | 2146 | * bidimirror.h: |
| 2144 | 2147 | * biditype.h: Remove file. | |
| 2145 | * bidimirror.h: File removed. | 2148 | * makefile.w32-in ($(BLD)/bidi.$(O)): |
| 2146 | 2149 | * deps.mk (bidi.o): Remove biditype.h and bidimirror.h. | |
| 2147 | * deps.mk (bidi.o): Remove biditype.h and | ||
| 2148 | bidimirror.h. | ||
| 2149 | |||
| 2150 | * makefile.w32-in ($(BLD)/bidi.$(O)): Remove biditype.h and | ||
| 2151 | bidimirror.h. | ||
| 2152 | 2150 | ||
| 2153 | * dispextern.h: Fix a typo in the comment to bidi_type_t. | 2151 | * dispextern.h: Fix a typo in the comment to bidi_type_t. |
| 2154 | 2152 | ||
| @@ -2323,8 +2321,7 @@ | |||
| 2323 | 2321 | ||
| 2324 | 2011-08-04 Andreas Schwab <schwab@linux-m68k.org> | 2322 | 2011-08-04 Andreas Schwab <schwab@linux-m68k.org> |
| 2325 | 2323 | ||
| 2326 | * regex.c (re_iswctype): Remove some redundant boolean | 2324 | * regex.c (re_iswctype): Remove some redundant boolean conversions. |
| 2327 | conversions. | ||
| 2328 | 2325 | ||
| 2329 | 2011-08-04 Jan Djärv <jan.h.d@swipnet.se> | 2326 | 2011-08-04 Jan Djärv <jan.h.d@swipnet.se> |
| 2330 | 2327 | ||
| @@ -2861,8 +2858,7 @@ | |||
| 2861 | 2011-07-15 Eli Zaretskii <eliz@gnu.org> | 2858 | 2011-07-15 Eli Zaretskii <eliz@gnu.org> |
| 2862 | 2859 | ||
| 2863 | * xdisp.c (move_it_in_display_line_to): Fix vertical motion with | 2860 | * xdisp.c (move_it_in_display_line_to): Fix vertical motion with |
| 2864 | bidi redisplay when a line includes both an image and is | 2861 | bidi redisplay when a line includes both an image and is truncated. |
| 2865 | truncated. | ||
| 2866 | 2862 | ||
| 2867 | 2011-07-14 Paul Eggert <eggert@cs.ucla.edu> | 2863 | 2011-07-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2868 | 2864 | ||
diff --git a/src/xterm.c b/src/xterm.c index f40deca1e88..df83941f0d1 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3355,8 +3355,14 @@ frame_highlight (struct frame *f) | |||
| 3355 | and border pixel are window attributes which are "private to the | 3355 | and border pixel are window attributes which are "private to the |
| 3356 | client", so we can always change it to whatever we want. */ | 3356 | client", so we can always change it to whatever we want. */ |
| 3357 | BLOCK_INPUT; | 3357 | BLOCK_INPUT; |
| 3358 | /* I recently started to get errors in this XSetWindowBorder, depending on | ||
| 3359 | the window-manager in use, tho something more is at play since I've been | ||
| 3360 | using that same window-manager binary for ever. Let's not crash just | ||
| 3361 | because of this (bug#9310). */ | ||
| 3362 | x_catch_errors (FRAME_X_DISPLAY (f)); | ||
| 3358 | XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 3363 | XSetWindowBorder (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 3359 | f->output_data.x->border_pixel); | 3364 | f->output_data.x->border_pixel); |
| 3365 | x_uncatch_errors (); | ||
| 3360 | UNBLOCK_INPUT; | 3366 | UNBLOCK_INPUT; |
| 3361 | x_update_cursor (f, 1); | 3367 | x_update_cursor (f, 1); |
| 3362 | x_set_frame_alpha (f); | 3368 | x_set_frame_alpha (f); |
| @@ -3370,8 +3376,11 @@ frame_unhighlight (struct frame *f) | |||
| 3370 | and border pixel are window attributes which are "private to the | 3376 | and border pixel are window attributes which are "private to the |
| 3371 | client", so we can always change it to whatever we want. */ | 3377 | client", so we can always change it to whatever we want. */ |
| 3372 | BLOCK_INPUT; | 3378 | BLOCK_INPUT; |
| 3379 | /* Same as above for XSetWindowBorder (bug#9310). */ | ||
| 3380 | x_catch_errors (FRAME_X_DISPLAY (f)); | ||
| 3373 | XSetWindowBorderPixmap (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 3381 | XSetWindowBorderPixmap (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
| 3374 | f->output_data.x->border_tile); | 3382 | f->output_data.x->border_tile); |
| 3383 | x_uncatch_errors (); | ||
| 3375 | UNBLOCK_INPUT; | 3384 | UNBLOCK_INPUT; |
| 3376 | x_update_cursor (f, 1); | 3385 | x_update_cursor (f, 1); |
| 3377 | x_set_frame_alpha (f); | 3386 | x_set_frame_alpha (f); |