changeset 102429:6ad9dc785e40

(ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and use NSRectFill instead of NSDrawGroove.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 06 Mar 2009 15:29:50 +0000
parents 3592fbfdbc63
children e5feb6e6124a
files src/nsterm.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/nsterm.m	Fri Mar 06 14:53:02 2009 +0000
+++ b/src/nsterm.m	Fri Mar 06 15:29:50 2009 +0000
@@ -2454,7 +2454,7 @@
 {
   struct frame *f = XFRAME (WINDOW_FRAME (w));
   struct face *face;
-  NSRect r = NSMakeRect (x, y0, 2, y1-y0);
+  NSRect r = NSMakeRect (x, y0, 1, y1-y0);
 
   NSTRACE (ns_draw_vertical_window_border);
 
@@ -2463,7 +2463,7 @@
       [ns_lookup_indexed_color(face->foreground, f) set];
 
   ns_focus (f, &r, 1);
-  NSDrawGroove (r, r);
+  NSRectFill(r);
   ns_unfocus (f);
 }