summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-27 18:23:51 -0400
committerTingPing <tingping@tingping.se>2013-09-27 18:23:51 -0400
commit0d2feba69cd3fda426fd3b786afb8b7c563a62da (patch)
tree9c9a371815e3bc3209a2b10b4588ced5f7421775 /src/fe-gtk
parent54657908862578d89c398d87271600b765f96596 (diff)
Revert fast scrolling with background image
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/xtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index c202bc18..6b21a263 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -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);