changeset 25083:d3b7d7d2bca8

(x_setup_relief_color): Don't try smart color allocation if display is mono. (x_draw_row_bitmaps): If face has stipple, don't switch to foreground color for clearing areas, and set the fill style.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 27 Jul 1999 00:02:50 +0000
parents ba6bf065b287
children d89aa269255d
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Jul 27 00:02:17 1999 +0000
+++ b/src/xterm.c	Tue Jul 27 00:02:50 1999 +0000
@@ -2376,9 +2376,7 @@
 	    r->x -= width;
 	}
       
-      /* If row should not extend over internal borders, adjust x.  */
-      if (!s->row->internal_border_p)
-	r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f);
+      r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f);
       
       /* Unless displaying a mode or menu bar line, which are always
 	 fully visible, clip to the visible part of the row.  */
@@ -4266,13 +4264,8 @@
 	    x -= width;
 	}
 
-      /* If row should extend over internal borders, adjust x and
-         width accordingly.  */
-      if (!row->internal_border_p)
-	{
-	  x += FRAME_INTERNAL_BORDER_WIDTH (f);
-	  last_x -= FRAME_INTERNAL_BORDER_WIDTH (f);
-	}
+      x += FRAME_INTERNAL_BORDER_WIDTH (f);
+      last_x -= FRAME_INTERNAL_BORDER_WIDTH (f);
     }
   else
     {