From 4319f8009c36fd1e6f68fb943f52d9e5e7dd93ed Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 12 Jan 2014 15:52:24 -0500 Subject: [PATCH] Don't use SCROLL_HACK on osx --- src/fe-gtk/xtext.c | 2 ++ 1 file changed, 2 insertions(+) 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;