summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tingping@fedoraproject.org>2014-01-12 15:52:24 -0500
committerTingPing <tingping@tingping.se>2014-01-14 22:14:27 -0500
commit4319f8009c36fd1e6f68fb943f52d9e5e7dd93ed (patch)
treef909a293b631c77d68a265fb496a04bb1dec6b57 /src
parentb2e3214d61c13cf6331e624c5a4b62cafb75cc2c (diff)
Don't use SCROLL_HACK on osx
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/xtext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index f9161b7b..ca216785 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -3627,6 +3627,7 @@ gtk_xtext_render_page (GtkXText * xtext)
 	overlap = xtext->buffer->last_pixel_pos - pos;
 	xtext->buffer->last_pixel_pos = pos;
 
+#ifndef __APPLE__
 	if (!xtext->pixmap && abs (overlap) < height)
 	{
 		/* so the obscured regions are exposed */
@@ -3660,6 +3661,7 @@ gtk_xtext_render_page (GtkXText * xtext)
 
 		return;
 	}
+#endif
 
 	xtext->buffer->grid_dirty = FALSE;
 	width -= MARGIN;