diff options
| author | Kim F. Storm | 2004-10-15 12:02:27 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-10-15 12:02:27 +0000 |
| commit | f459b8c059c53a618ba24fe7e0f90024b78f22ab (patch) | |
| tree | 9050fd6e65c9b792ad25ecf59d7a434c1d88898a /src | |
| parent | b3c7a89bafb58bf101ed38af657ef36a7e4eeb94 (diff) | |
| download | emacs-f459b8c059c53a618ba24fe7e0f90024b78f22ab.tar.gz emacs-f459b8c059c53a618ba24fe7e0f90024b78f22ab.zip | |
(x_draw_vertical_border): Undo last change.
(redisplay_window): Only update fringes and vertical
border on window frames.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 1ddfc007f7f..2f68207a1d1 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -12217,7 +12217,8 @@ redisplay_window (window, just_this_one_p) | |||
| 12217 | } | 12217 | } |
| 12218 | 12218 | ||
| 12219 | #ifdef HAVE_WINDOW_SYSTEM | 12219 | #ifdef HAVE_WINDOW_SYSTEM |
| 12220 | if (update_window_fringes (w, 0) | 12220 | if (FRAME_WINDOW_P (f) |
| 12221 | && update_window_fringes (w, 0) | ||
| 12221 | && !just_this_one_p | 12222 | && !just_this_one_p |
| 12222 | && (used_current_matrix_p || overlay_arrow_seen) | 12223 | && (used_current_matrix_p || overlay_arrow_seen) |
| 12223 | && !w->pseudo_window_p) | 12224 | && !w->pseudo_window_p) |
| @@ -21634,9 +21635,6 @@ x_draw_vertical_border (w) | |||
| 21634 | windows (on either side) have... But we don't :-( | 21635 | windows (on either side) have... But we don't :-( |
| 21635 | However, I think this works ok. ++KFS 2003-04-25 */ | 21636 | However, I think this works ok. ++KFS 2003-04-25 */ |
| 21636 | 21637 | ||
| 21637 | if (!FRAME_WINDOW_P (XFRAME (w->frame))) | ||
| 21638 | return; | ||
| 21639 | |||
| 21640 | /* Redraw borders between horizontally adjacent windows. Don't | 21638 | /* Redraw borders between horizontally adjacent windows. Don't |
| 21641 | do it for frames with vertical scroll bars because either the | 21639 | do it for frames with vertical scroll bars because either the |
| 21642 | right scroll bar of a window, or the left scroll bar of its | 21640 | right scroll bar of a window, or the left scroll bar of its |