Mercurial > emacs
comparison src/xdisp.c @ 57496:ad0659a2d52e
(x_draw_vertical_border): Undo last change.
(redisplay_window): Only update fringes and vertical
border on window frames.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 15 Oct 2004 12:02:27 +0000 |
parents | 33c31d1c5e22 |
children | 97a5853254e0 |
comparison
equal
deleted
inserted
replaced
57495:e5c1443a8c9c | 57496:ad0659a2d52e |
---|---|
12215 redisplay_tool_bar (f); | 12215 redisplay_tool_bar (f); |
12216 #endif | 12216 #endif |
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) |
12224 { | 12225 { |
12225 update_begin (f); | 12226 update_begin (f); |
21631 struct window *w; | 21632 struct window *w; |
21632 { | 21633 { |
21633 /* We could do better, if we knew what type of scroll-bar the adjacent | 21634 /* We could do better, if we knew what type of scroll-bar the adjacent |
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 if (!FRAME_WINDOW_P (XFRAME (w->frame))) | |
21638 return; | |
21639 | 21637 |
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 |
21643 neighbor will suffice as a border. */ | 21641 neighbor will suffice as a border. */ |