[vte/vte-next] Don't set cursor-background-color by default



commit d457b8bd349f8879126ba874fac116ddb4dee052
Author: Christian Persch <chpe gnome org>
Date:   Mon May 23 14:42:14 2011 +0200

    Don't set cursor-background-color by default
    
    Otherwise, the cursor will turn invisible when entering reverse mode

 src/palette.c       |    3 ++-
 src/vtepalettecss.h |    1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/palette.c b/src/palette.c
index a9da744..ce5e383 100644
--- a/src/palette.c
+++ b/src/palette.c
@@ -104,7 +104,8 @@ write_css_property (const char *property_name,
 
         if (strcmp (property_name, "selection-background-color") == 0 ||
             strcmp (property_name, "bold-foreground-color") == 0 ||
-            strcmp (property_name, "dim-foreground-color") == 0)
+            strcmp (property_name, "dim-foreground-color") == 0 ||
+            strcmp (property_name, "cursor-background-color") == 0)
                 return;
 
         color_string = gdk_rgba_to_string (color);
diff --git a/src/vtepalettecss.h b/src/vtepalettecss.h
index e00ca58..666fc62 100644
--- a/src/vtepalettecss.h
+++ b/src/vtepalettecss.h
@@ -260,4 +260,3 @@
 "-VteTerminal-shade-24-shades-24-color: rgb(238,238,238);\n"
 "-VteTerminal-foreground-color: rgb(191,191,191);\n"
 "-VteTerminal-background-color: rgb(0,0,0);\n"
-"-VteTerminal-cursor-background-color: rgb(191,191,191);\n"



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