Revert fast scrolling with background image
This commit is contained in:
parent
5465790886
commit
0d2feba69c
|
@ -3749,7 +3749,7 @@ gtk_xtext_render_page (GtkXText * xtext)
|
|||
overlap = xtext->buffer->last_pixel_pos - pos;
|
||||
xtext->buffer->last_pixel_pos = pos;
|
||||
|
||||
if (abs (overlap) < height)
|
||||
if (!xtext->pixmap && abs (overlap) < height)
|
||||
{
|
||||
/* so the obscured regions are exposed */
|
||||
gdk_gc_set_exposures (xtext->fgc, TRUE);
|
||||
|
|
Loading…
Reference in New Issue