diff options
| author | Karoly Lorentey | 2005-02-18 23:21:20 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-02-18 23:21:20 +0000 |
| commit | 42073ee0ab23831daed0332d97560a6903646b87 (patch) | |
| tree | 24f697961d5140fc8de185cbc023c0da2fc31880 /src | |
| parent | e72cf5ee9da4ae138feeb2512b58c5393c5c9251 (diff) | |
| parent | e31d908ff2e4d60fe28c3f000cb00e90b525ea48 (diff) | |
| download | emacs-42073ee0ab23831daed0332d97560a6903646b87.tar.gz emacs-42073ee0ab23831daed0332d97560a6903646b87.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 91-94)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-91
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-92
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-93
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-94
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-293
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 13 | ||||
| -rw-r--r-- | src/keyboard.c | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 12 |
3 files changed, 26 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c00c06cc358..c6ab6985ed0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | ||
| 4 | |||
| 5 | 2005-02-12 Kim F. Storm <storm@cua.dk> | ||
| 6 | |||
| 7 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | ||
| 8 | |||
| 9 | 2005-02-10 Kim F. Storm <storm@cua.dk> | ||
| 10 | |||
| 11 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | ||
| 12 | if it moves outside window or it doesn't display text. | ||
| 13 | |||
| 1 | 2005-02-09 Kim F. Storm <storm@cua.dk> | 14 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
| 2 | 15 | ||
| 3 | * undo.c (Fprimitive_undo): Check that undo function does not | 16 | * undo.c (Fprimitive_undo): Check that undo function does not |
diff --git a/src/keyboard.c b/src/keyboard.c index 24dd7f12607..f3245a59669 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -64,6 +64,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 64 | #include <unistd.h> | 64 | #include <unistd.h> |
| 65 | #endif | 65 | #endif |
| 66 | 66 | ||
| 67 | #ifdef HAVE_FCNTL_H | ||
| 68 | #include <fcntl.h> | ||
| 69 | #endif | ||
| 70 | |||
| 67 | /* This is to get the definitions of the XK_ symbols. */ | 71 | /* This is to get the definitions of the XK_ symbols. */ |
| 68 | #ifdef HAVE_X_WINDOWS | 72 | #ifdef HAVE_X_WINDOWS |
| 69 | #include "xterm.h" | 73 | #include "xterm.h" |
diff --git a/src/xdisp.c b/src/xdisp.c index ecbd5398120..992c277c898 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13825,7 +13825,12 @@ try_window_id (w) | |||
| 13825 | bottom_vpos, dy); | 13825 | bottom_vpos, dy); |
| 13826 | 13826 | ||
| 13827 | if (first_unchanged_at_end_row) | 13827 | if (first_unchanged_at_end_row) |
| 13828 | first_unchanged_at_end_row += dvpos; | 13828 | { |
| 13829 | first_unchanged_at_end_row += dvpos; | ||
| 13830 | if (first_unchanged_at_end_row->y >= it.last_visible_y | ||
| 13831 | || !MATRIX_ROW_DISPLAYS_TEXT_P (first_unchanged_at_end_row)) | ||
| 13832 | first_unchanged_at_end_row = NULL; | ||
| 13833 | } | ||
| 13829 | 13834 | ||
| 13830 | /* If scrolling up, there may be some lines to display at the end of | 13835 | /* If scrolling up, there may be some lines to display at the end of |
| 13831 | the window. */ | 13836 | the window. */ |
| @@ -13882,7 +13887,6 @@ try_window_id (w) | |||
| 13882 | 13887 | ||
| 13883 | /* Update window_end_pos and window_end_vpos. */ | 13888 | /* Update window_end_pos and window_end_vpos. */ |
| 13884 | if (first_unchanged_at_end_row | 13889 | if (first_unchanged_at_end_row |
| 13885 | && first_unchanged_at_end_row->y < it.last_visible_y | ||
| 13886 | && !last_text_row_at_end) | 13890 | && !last_text_row_at_end) |
| 13887 | { | 13891 | { |
| 13888 | /* Window end line if one of the preserved rows from the current | 13892 | /* Window end line if one of the preserved rows from the current |
| @@ -22088,7 +22092,9 @@ expose_window (w, fr) | |||
| 22088 | || (r.y >= y0 && r.y < y1) | 22092 | || (r.y >= y0 && r.y < y1) |
| 22089 | || (r.y + r.height > y0 && r.y + r.height < y1)) | 22093 | || (r.y + r.height > y0 && r.y + r.height < y1)) |
| 22090 | { | 22094 | { |
| 22091 | if (row->overlapping_p) | 22095 | /* A header line may be overlapping, but there is no need |
| 22096 | to fix overlapping areas for them. KFS 2005-02-12 */ | ||
| 22097 | if (row->overlapping_p && !row->mode_line_p) | ||
| 22092 | { | 22098 | { |
| 22093 | if (first_overlapping_row == NULL) | 22099 | if (first_overlapping_row == NULL) |
| 22094 | first_overlapping_row = row; | 22100 | first_overlapping_row = row; |