Don't use SCROLL_HACK on osx

This commit is contained in:
TingPing 2014-01-12 15:52:24 -05:00 committed by TingPing
parent b2e3214d61
commit 4319f8009c
1 changed files with 2 additions and 0 deletions

View File

@ -3627,6 +3627,7 @@ gtk_xtext_render_page (GtkXText * xtext)
overlap = xtext->buffer->last_pixel_pos - pos; overlap = xtext->buffer->last_pixel_pos - pos;
xtext->buffer->last_pixel_pos = pos; xtext->buffer->last_pixel_pos = pos;
#ifndef __APPLE__
if (!xtext->pixmap && abs (overlap) < height) if (!xtext->pixmap && abs (overlap) < height)
{ {
/* so the obscured regions are exposed */ /* so the obscured regions are exposed */
@ -3660,6 +3661,7 @@ gtk_xtext_render_page (GtkXText * xtext)
return; return;
} }
#endif
xtext->buffer->grid_dirty = FALSE; xtext->buffer->grid_dirty = FALSE;
width -= MARGIN; width -= MARGIN;