mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Fix NS fringe bitmap drawing bug (bug#33864)
* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear correctly.
This commit is contained in:
parent
0c524597b3
commit
a731c563a1
@ -2919,7 +2919,7 @@ so some key presses (TAB) are swallowed by the system. */
|
||||
/* Work out the rectangle we will need to clear. Because we're
|
||||
compositing rather than blitting, we need to clear the area under
|
||||
the image regardless of anything else. */
|
||||
if (!p->overlay_p)
|
||||
if (p->bx >= 0 && !p->overlay_p)
|
||||
{
|
||||
clearRect = NSMakeRect (p->bx, p->by, p->nx, p->ny);
|
||||
clearRect = NSUnionRect (clearRect, imageRect);
|
||||
|
Loading…
Reference in New Issue
Block a user