* fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
outside the window (Bug#16649).
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).
}
}
- 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