[vte/vte-0-34] vteapp: Disable transparency by default
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [vte/vte-0-34] vteapp: Disable transparency by default
- Date: Mon, 16 Sep 2013 21:10:15 +0000 (UTC)
commit e0fdec86f735b6fd87e911c16ef166dfe0693bc9
Author: Christian Persch <chpe gnome org>
Date:   Mon Sep 16 23:09:10 2013 +0200
    vteapp: Disable transparency by default
    
    This is actually a bug in the vte widget, which should only use bg_opacity
    when bg_transparent is TRUE, but since this feature is deprecated anyway,
    there's no point wasting any time fixing this in the widget.
 src/vteapp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index c6ab68a..cb6af44 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -903,10 +903,10 @@ main(int argc, char **argv)
        if (transparent) {
                vte_terminal_set_background_transparent(terminal,
                                                        TRUE);
-       }
-       vte_terminal_set_background_tint_color(terminal, &tint);
+                vte_terminal_set_background_tint_color(terminal, &tint);
+                vte_terminal_set_opacity(terminal, 0xdddd);
+        }
        vte_terminal_set_colors(terminal, &fore, &back, NULL, 0);
-       vte_terminal_set_opacity(terminal, 0xdddd);
        if (highlight_set) {
                vte_terminal_set_color_highlight(terminal,
                                                 &highlight);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]