diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 17 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/macterm.c | 1 | ||||
| -rw-r--r-- | src/syntax.c | 12 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
5 files changed, 29 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5cadef9490b..f83f6bafd03 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,20 @@ | |||
| 1 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | ||
| 4 | Call mac_wakeup_from_rne on window size change. | ||
| 5 | |||
| 6 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) | ||
| 7 | |||
| 8 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | ||
| 9 | |||
| 10 | 2007-05-22 Richard Stallman <rms@gnu.org> | ||
| 11 | |||
| 12 | * xterm.c (x_connection_closed): Remove NO_RETURN. | ||
| 13 | |||
| 14 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | ||
| 15 | |||
| 16 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | ||
| 17 | |||
| 1 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | 18 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 19 | ||
| 3 | * image.c (uncache_image): New function. | 20 | * image.c (uncache_image): New function. |
diff --git a/src/keyboard.c b/src/keyboard.c index 4658fdcca51..576afd29843 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -6189,7 +6189,7 @@ make_lispy_event (event) | |||
| 6189 | } | 6189 | } |
| 6190 | } | 6190 | } |
| 6191 | 6191 | ||
| 6192 | #ifdef HAVE_MOUSE | 6192 | #if defined(HAVE_MOUSE) || defined(HAVE_GPM) |
| 6193 | 6193 | ||
| 6194 | static Lisp_Object | 6194 | static Lisp_Object |
| 6195 | make_lispy_movement (frame, bar_window, part, x, y, time) | 6195 | make_lispy_movement (frame, bar_window, part, x, y, time) |
| @@ -6228,7 +6228,7 @@ make_lispy_movement (frame, bar_window, part, x, y, time) | |||
| 6228 | } | 6228 | } |
| 6229 | } | 6229 | } |
| 6230 | 6230 | ||
| 6231 | #endif /* HAVE_MOUSE */ | 6231 | #endif /* HAVE_MOUSE || HAVE GPM */ |
| 6232 | 6232 | ||
| 6233 | /* Construct a switch frame event. */ | 6233 | /* Construct a switch frame event. */ |
| 6234 | static Lisp_Object | 6234 | static Lisp_Object |
diff --git a/src/macterm.c b/src/macterm.c index e31fba134f5..871bf9cd6f9 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -9888,6 +9888,7 @@ mac_handle_window_event (next_handler, event, data) | |||
| 9888 | width = bounds.right - bounds.left; | 9888 | width = bounds.right - bounds.left; |
| 9889 | height = bounds.bottom - bounds.top; | 9889 | height = bounds.bottom - bounds.top; |
| 9890 | mac_handle_size_change (f, width, height); | 9890 | mac_handle_size_change (f, width, height); |
| 9891 | mac_wakeup_from_rne (); | ||
| 9891 | } | 9892 | } |
| 9892 | } | 9893 | } |
| 9893 | 9894 | ||
diff --git a/src/syntax.c b/src/syntax.c index acb5d37825c..9161512a15b 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1276,19 +1276,19 @@ scan_words (from, count) | |||
| 1276 | position of it. */ | 1276 | position of it. */ |
| 1277 | while (1) | 1277 | while (1) |
| 1278 | { | 1278 | { |
| 1279 | int temp_byte; | ||
| 1280 | |||
| 1281 | if (from == beg) | 1279 | if (from == beg) |
| 1282 | break; | 1280 | break; |
| 1283 | temp_byte = dec_bytepos (from_byte); | 1281 | DEC_BOTH (from, from_byte); |
| 1284 | UPDATE_SYNTAX_TABLE_BACKWARD (from); | 1282 | UPDATE_SYNTAX_TABLE_BACKWARD (from); |
| 1285 | ch0 = FETCH_CHAR (temp_byte); | 1283 | ch0 = FETCH_CHAR (from_byte); |
| 1286 | code = SYNTAX (ch0); | 1284 | code = SYNTAX (ch0); |
| 1287 | if (!(words_include_escapes | 1285 | if (!(words_include_escapes |
| 1288 | && (code == Sescape || code == Scharquote))) | 1286 | && (code == Sescape || code == Scharquote))) |
| 1289 | if (code != Sword || WORD_BOUNDARY_P (ch0, ch1)) | 1287 | if (code != Sword || WORD_BOUNDARY_P (ch0, ch1)) |
| 1290 | break; | 1288 | { |
| 1291 | DEC_BOTH (from, from_byte); | 1289 | INC_BOTH (from, from_byte); |
| 1290 | break; | ||
| 1291 | } | ||
| 1292 | ch1 = ch0; | 1292 | ch1 = ch0; |
| 1293 | } | 1293 | } |
| 1294 | count++; | 1294 | count++; |
diff --git a/src/xterm.c b/src/xterm.c index 8b0078d6af6..6fcaa3d1294 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -371,7 +371,9 @@ static void x_check_expected_move P_ ((struct frame *, int, int)); | |||
| 371 | static void x_sync_with_move P_ ((struct frame *, int, int, int)); | 371 | static void x_sync_with_move P_ ((struct frame *, int, int, int)); |
| 372 | static int handle_one_xevent P_ ((struct x_display_info *, XEvent *, | 372 | static int handle_one_xevent P_ ((struct x_display_info *, XEvent *, |
| 373 | int *, struct input_event *)); | 373 | int *, struct input_event *)); |
| 374 | static SIGTYPE x_connection_closed P_ ((Display *, char *)) NO_RETURN; | 374 | /* Don't declare this NO_RETURN because we want no |
| 375 | interference with debugging failing X calls. */ | ||
| 376 | static SIGTYPE x_connection_closed P_ ((Display *, char *)); | ||
| 375 | 377 | ||
| 376 | 378 | ||
| 377 | /* Flush display of frame F, or of all frames if F is null. */ | 379 | /* Flush display of frame F, or of all frames if F is null. */ |