[vte] widget: Set the background alpha in set_colors
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Set the background alpha in set_colors
- Date: Fri, 9 May 2014 16:55:15 +0000 (UTC)
commit f555e78839bbb47a4407bcfd01adcfc2dd070071
Author: Debarshi Ray <debarshir gnome org>
Date: Fri May 9 18:33:15 2014 +0200
widget: Set the background alpha in set_colors
We are doing that in vte_terminal_set_color_background, but a lot of
applications (eg., the test application, gnome-terminal) use
vte_terminal_set_colors. So set it there as well.
Fallout from 060850078a53dce64c3d2b96882f525fef7f5028
https://bugzilla.gnome.org/show_bug.cgi?id=729884
src/vte.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 135eef7..7fb4599 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -2915,6 +2915,8 @@ vte_terminal_set_colors(VteTerminal *terminal,
_pango_color_from_rgba(&bg, background),
pal, palette_size);
+ _vte_terminal_set_background_alpha(terminal, background ? background->alpha : 1.0);
+
g_free (pal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]