[vte] widget: Invalidate rectangular selection on rewrap
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Invalidate rectangular selection on rewrap
- Date: Thu, 8 Jan 2015 13:25:39 +0000 (UTC)
commit f7e71e74d8eba0edd565c5904bd829e4185177d7
Author: Egmont Koblinger <egmont gmail com>
Date: Thu Jan 8 14:25:16 2015 +0100
widget: Invalidate rectangular selection on rewrap
https://bugzilla.gnome.org/show_bug.cgi?id=742320
src/vte.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 59eceec..7fb01ae 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7709,6 +7709,9 @@ vte_terminal_screen_set_size(VteTerminal *terminal, VteScreen *screen, glong old
glong old_top_lines;
glong new_scroll_delta;
+ if (terminal->pvt->selection_block_mode && do_rewrap && old_columns != terminal->pvt->column_count)
+ vte_terminal_deselect_all(terminal);
+
_vte_debug_print(VTE_DEBUG_RESIZE,
"Resizing %s screen\n"
"Old insert_delta=%ld scroll_delta=%ld\n"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]