mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
In draw_fringe_bitmap_1 don't draw fringe if it's outside the window (Bug#16649).
* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's outside the window (Bug#16649).
This commit is contained in:
parent
bfdd79d309
commit
415e381049
@ -5,6 +5,9 @@
|
||||
|
||||
2014-02-05 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
|
||||
outside the window (Bug#16649).
|
||||
|
||||
* xdisp.c (note_mouse_highlight): When entering a margin area show
|
||||
a non-text cursor (Bug#16647).
|
||||
|
||||
|
@ -695,7 +695,9 @@ draw_fringe_bitmap_1 (struct window *w, struct glyph_row *row, int left_p, int o
|
||||
}
|
||||
}
|
||||
|
||||
FRAME_RIF (f)->draw_fringe_bitmap (w, row, &p);
|
||||
if (p.x >= WINDOW_BOX_LEFT_EDGE_X (w)
|
||||
&& (p.x + p.wd) <= WINDOW_BOX_LEFT_EDGE_X (w) + WINDOW_PIXEL_WIDTH (w))
|
||||
FRAME_RIF (f)->draw_fringe_bitmap (w, row, &p);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user