[vte] Bug 604240 - fix set-scrolling-region behaviour on reset
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Bug 604240 - fix set-scrolling-region behaviour on reset
- Date: Thu, 1 Apr 2010 22:09:57 +0000 (UTC)
commit e2981d7ae9039256a22137a7f0b8fd886b794a94
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Apr 1 18:09:41 2010 -0400
Bug 604240 - fix set-scrolling-region behaviour on reset
src/vteseq.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index d27ad10..a99ed47 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -1200,6 +1200,8 @@ vte_sequence_handler_cs (VteTerminal *terminal, GValueArray *params)
GValue *value;
VteScreen *screen;
+ _vte_terminal_home_cursor (terminal);
+
/* We require two parameters. Anything less is a reset. */
screen = terminal->pvt->screen;
if ((params == NULL) || (params->n_values < 2)) {
@@ -1232,7 +1234,6 @@ vte_sequence_handler_cs (VteTerminal *terminal, GValueArray *params)
screen->scrolling_region.end == rows - 1) {
screen->scrolling_restricted = FALSE;
}
- _vte_terminal_home_cursor (terminal);
}
/* Restrict scrolling and updates to a subset of the visible lines, because
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]