comparison src/xdisp.c @ 57494:33c31d1c5e22

(x_draw_vertical_border): Do nothing if non-window system.
author Kim F. Storm <storm@cua.dk>
date Fri, 15 Oct 2004 11:56:41 +0000
parents 232db85e3b89
children ad0659a2d52e
comparison
equal deleted inserted replaced
57493:3a10f8758700 57494:33c31d1c5e22
21632 { 21632 {
21633 /* We could do better, if we knew what type of scroll-bar the adjacent 21633 /* We could do better, if we knew what type of scroll-bar the adjacent
21634 windows (on either side) have... But we don't :-( 21634 windows (on either side) have... But we don't :-(
21635 However, I think this works ok. ++KFS 2003-04-25 */ 21635 However, I think this works ok. ++KFS 2003-04-25 */
21636 21636
21637 if (!FRAME_WINDOW_P (XFRAME (w->frame)))
21638 return;
21639
21637 /* Redraw borders between horizontally adjacent windows. Don't 21640 /* Redraw borders between horizontally adjacent windows. Don't
21638 do it for frames with vertical scroll bars because either the 21641 do it for frames with vertical scroll bars because either the
21639 right scroll bar of a window, or the left scroll bar of its 21642 right scroll bar of a window, or the left scroll bar of its
21640 neighbor will suffice as a border. */ 21643 neighbor will suffice as a border. */
21641 if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame))) 21644 if (FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (w->frame)))