aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoroldosfan2021-10-18 08:09:40 +0800
committerPo Lu2021-11-10 13:27:01 +0800
commit7117bbc7aa905ae785fa564cb24c3fc75ef1d543 (patch)
tree424eb046da6c0b2e2e75651226d2c613f6da640e /src
parent2b5a2ab50b7817f84ae38f84b4ea36ea38cd5a3b (diff)
downloademacs-7117bbc7aa905ae785fa564cb24c3fc75ef1d543.tar.gz
emacs-7117bbc7aa905ae785fa564cb24c3fc75ef1d543.zip
Revert "Fix erasing cursor on top of raised boxes in NS port"
This reverts commit 960f0eb9ab657af85c532574b937d8851049b178.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 8ee5c03b97e..ed0e7a2aae8 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3510,12 +3510,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p,
3510 3510
3511 [(raised_p ? lightCol : darkCol) set]; 3511 [(raised_p ? lightCol : darkCol) set];
3512 3512
3513 if (top_p)
3514 {
3515 NSRectFill (NSMakeRect (NSMinX (outer), NSMinY (outer),
3516 NSWidth (outer), hthickness));
3517 }
3518
3519 if (top_p || left_p) 3513 if (top_p || left_p)
3520 { 3514 {
3521 NSBezierPath *p = [NSBezierPath bezierPath]; 3515 NSBezierPath *p = [NSBezierPath bezierPath];
@@ -3555,12 +3549,6 @@ ns_draw_relief (NSRect outer, int hthickness, int vthickness, char raised_p,
3555 [p closePath]; 3549 [p closePath];
3556 [p fill]; 3550 [p fill];
3557 } 3551 }
3558
3559 if (bottom_p)
3560 {
3561 NSRectFill (NSMakeRect (NSMinX (outer), NSMaxY (inner),
3562 NSWidth (outer), hthickness));
3563 }
3564} 3552}
3565 3553
3566 3554