[vte/vte-next] fixup! Add style properties for the 256 colour palette entries



commit 2562a9361a137e1ab09d746da0903364da5a60b2
Author: Christian Persch <chpe gnome org>
Date:   Sun May 22 22:50:21 2011 +0200

    fixup! Add style properties for the 256 colour palette entries

 src/vte.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 6856bf8..3b578dd 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -2380,7 +2380,7 @@ _vte_terminal_set_color_cursor_rgba(VteTerminal *terminal,
         } else {
                 _vte_debug_print(VTE_DEBUG_MISC,
                                 "Cleared cursor color.\n");
-                vte_terminal_set_color_internal(terminal, VTE_CUR_BG, NULL, override);
+                _vte_invalidate_cursor_once(terminal, FALSE);
                 terminal->pvt->cursor_color_set = FALSE;
         }
 }
@@ -2409,7 +2409,7 @@ _vte_terminal_set_color_highlight_rgba(VteTerminal *terminal,
         } else {
                 _vte_debug_print(VTE_DEBUG_MISC,
                                 "Cleared highlight color.\n");
-                vte_terminal_set_color_internal(terminal, VTE_DEF_HL, NULL, FALSE);
+                _vte_invalidate_all(terminal);
                 terminal->pvt->highlight_color_set = TRUE;
         }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]