After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728675 - set_colors_rgba does not set alpha
set_colors_rgba does not set alpha
Status: RESOLVED DUPLICATE of bug 729884
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-21 18:49 UTC by Hristo Venev
Modified: 2014-05-09 16:54 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12



Description Hristo Venev 2014-04-21 18:49:15 UTC
From 600b43feff1522160b9026f38a6819ab1edc6540 Mon Sep 17 00:00:00 2001
From: Hristo Venev <hristo@venev.name>
Date: Mon, 21 Apr 2014 21:43:43 +0300
Subject: [PATCH] widget: set alpha in set_colors_rgba

This is half the work required for transparency support in gnome-terminal.

---
 src/vte.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vte.c b/src/vte.c
index 8617b73..2e57a94 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -2928,6 +2928,7 @@ vte_terminal_set_colors_rgba(VteTerminal *terminal,
                                  _pango_color_from_rgba(&fg, foreground),
                                  _pango_color_from_rgba(&bg, background),
                                  pal, palette_size);
+	_vte_terminal_set_background_alpha(terminal, background->alpha);
 
 	g_free (pal);
 }
-- 
1.9.2
Comment 1 Christian Persch 2014-05-09 16:54:00 UTC

*** This bug has been marked as a duplicate of bug 729884 ***