mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
Don't use SCROLL_HACK on osx
This commit is contained in:
parent
b2e3214d61
commit
4319f8009c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user