Commit 1862b94f authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Fix scrolling offset. Ray Strode reported that background offset was being

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/vtepangocairo.c (_vte_pangocairo_clear): Fix scrolling offset.
        Ray Strode reported that background offset was being done incorrectly.
        A negation did it.


svn path=/trunk/; revision=2332
parent 8ff1af9a
2008-12-05 Behdad Esfahbod <behdad@gnome.org>
* src/vtepangocairo.c (_vte_pangocairo_clear): Fix scrolling offset.
Ray Strode reported that background offset was being done incorrectly.
A negation did it.
2008-12-05 Behdad Esfahbod <behdad@gnome.org>
* Makefile.am:
......
......@@ -869,7 +869,7 @@ _vte_pangocairo_clear (struct _vte_draw *draw,
set_source_color_alpha (data->cr, &draw->bg_color, draw->bg_opacity >> 8);
} else {
gdk_cairo_set_source_pixmap (data->cr, data->pixmap,
draw->scrollx, draw->scrolly);
-draw->scrollx, -draw->scrolly);
cairo_pattern_set_extend (cairo_get_source (data->cr), CAIRO_EXTEND_REPEAT);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment