Commit e6efd209 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

freeze the window when scrolling down in a restricted scrolling area

* src/vte.c(vte_sequence_handler_sf): freeze the window when scrolling down in
	a restricted scrolling area again.
parent f90b5a78
2003-04-25 nalin
* src/vte.c(vte_sequence_handler_sf): freeze the window when scrolling
down in a restricted scrolling area again.
2003-04-23 nalin
* src/iso2022.c(_vte_iso2022_state_set_codeset): save the new codeset.
* src/iso2022.c(process_cdata): compare the new codeset to the name of
......
......@@ -3323,6 +3323,7 @@ vte_sequence_handler_sf(VteTerminal *terminal,
/* This may generate multiple redraws, so
* disable fast scrolling for now. */
terminal->pvt->scroll_lock_count++;
gdk_window_freeze_updates(widget->window);
/* Force the areas below the region to be
* redrawn -- they've moved. */
top = screen->cursor_current.row;
......@@ -3334,6 +3335,7 @@ vte_sequence_handler_sf(VteTerminal *terminal,
vte_terminal_ensure_cursor(terminal, FALSE);
vte_terminal_adjust_adjustments(terminal, TRUE);
/* Allow updates again. */
gdk_window_thaw_updates(widget->window);
terminal->pvt->scroll_lock_count--;
} else {
/* If we're at the bottom of the scrolling
......
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