[vte] widget: doc: Clarify a comment about rewrapping
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: doc: Clarify a comment about rewrapping
- Date: Wed, 14 May 2014 23:35:55 +0000 (UTC)
commit 60f5573f9bbbfba7de535dda55f229142e324d9f
Author: Egmont Koblinger <egmont gmail com>
Date: Thu May 15 01:35:06 2014 +0200
widget: doc: Clarify a comment about rewrapping
src/vte.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index e1f1e97..be160af 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -7911,7 +7911,7 @@ vte_terminal_set_size(VteTerminal *terminal, glong columns, glong rows)
_vte_ring_set_visible_rows_hint(terminal->pvt->normal_screen.row_data,
terminal->pvt->row_count);
_vte_ring_set_visible_rows_hint(terminal->pvt->alternate_screen.row_data,
terminal->pvt->row_count);
- /* Always resize normal screen (given that this feature is enabled), even if alternate is
visible: bug 415277 */
+ /* Resize the normal screen and (if rewrapping is enabled) rewrap it even if the alternate
screen is visible: bug 415277 */
vte_terminal_screen_set_size(terminal, &terminal->pvt->normal_screen, old_columns, old_rows,
terminal->pvt->rewrap_on_resize);
/* Resize the alternate screen if it's the current one, but never rewrap it: bug 336238
comment 60 */
if (terminal->pvt->screen == &terminal->pvt->alternate_screen)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]