]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix erasing cursor on top of raised boxes in NS port"
authoroldosfan <luangruo@yahoo.com>
Mon, 18 Oct 2021 00:09:40 +0000 (08:09 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 10 Nov 2021 05:27:01 +0000 (13:27 +0800)
This reverts commit 960f0eb9ab657af85c532574b937d8851049b178.

src/nsterm.m

index 8ee5c03b97e966f580bf0eaa3a117d040c76ee49..ed0e7a2aae82a8b55dbef31028d4c7ccd1e8deb6 100644 (file)
@@ -3510,12 +3510,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p,
 
   [(raised_p ? lightCol : darkCol) set];
 
-  if (top_p)
-    {
-      NSRectFill (NSMakeRect (NSMinX (outer), NSMinY (outer),
-                             NSWidth (outer), hthickness));
-    }
-
   if (top_p || left_p)
     {
       NSBezierPath *p = [NSBezierPath bezierPath];
@@ -3555,12 +3549,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p,
       [p closePath];
       [p fill];
     }
-
-  if (bottom_p)
-    {
-      NSRectFill (NSMakeRect (NSMinX (outer), NSMaxY (inner),
-                             NSWidth (outer), hthickness));
-    }
 }