]> git.eshelyaron.com Git - emacs.git/commitdiff
(ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:30:04 +0000 (15:30 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:30:04 +0000 (15:30 +0000)
use NSRectFill instead of NSDrawGroove.

src/ChangeLog
src/nsterm.m

index d5d1e2b87ed1ff9b315db9a81ded001bbd05bb52..c9f1e297d3797996db18a7b3ef4d40a1f494e23f 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-06  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
+
+       (ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
+       use NSRectFill instead of NSDrawGroove.
+
 2009-03-06  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * nsterm.m (x_set_window_size): Change back to calculated method
index f5458fc0fd0e33ffe0a40ed56777bcb7fdb06265..6ebf49f77c10b3f42e25ba1a21e2a5638e2093eb 100644 (file)
@@ -2454,7 +2454,7 @@ ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
 {
   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_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
       [ns_lookup_indexed_color(face->foreground, f) set];
 
   ns_focus (f, &r, 1);
-  NSDrawGroove (r, r);
+  NSRectFill(r);
   ns_unfocus (f);
 }