1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

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

View File

@ -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;