Commit b2a0ee1a authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Fix for problem with redrawing when scrolling back then forward Closes bug

2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_scroll_region): Fix for
	problem with redrawing when scrolling back then forward
	Closes bug #122150. Patch from Benjamin Otte.
parent 2736ad18
2005-02-28 Kjartan Maraas <kmaraas@gnome.org>
* src/vte.c: (vte_terminal_scroll_region): Fix for
problem with redrawing when scrolling back then forward
Closes bug #122150. Patch from Benjamin Otte.
2005-02-28 Kjartan Maraas <kmaraas@gnome.org>
* src/vte.c: (vte_terminal_unrealize): Fix a crash
......
......@@ -716,11 +716,11 @@ vte_terminal_scroll_region(VteTerminal *terminal,
if (delta > 0) {
vte_invalidate_cells(terminal,
0, terminal->column_count,
0, delta);
row, delta);
} else {
vte_invalidate_cells(terminal,
0, terminal->column_count,
terminal->row_count + delta,
row + terminal->row_count + delta,
-delta);
}
repaint = FALSE;
......
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