summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bressler <ruben.bressler@cerpamid.co.cu>2010-07-19 17:43:16 -0400
committerRuben Bressler <ruben.bressler@cerpamid.co.cu>2010-07-19 17:43:16 -0400
commitda67b754e498097b9c6b0188f1d96985748f0ccb (patch)
tree884e427391def55b663d18ac60a875ed02aa34f4 /x11-libs/vte/files/vte-0.24.1-background-color2.patch
parentadicionando gdk-pixbuf-2.21.4 (diff)
downloadrubenqba-da67b754e498097b9c6b0188f1d96985748f0ccb.tar.gz
rubenqba-da67b754e498097b9c6b0188f1d96985748f0ccb.tar.bz2
rubenqba-da67b754e498097b9c6b0188f1d96985748f0ccb.zip
adicionando ultima versión de x11-libs
Diffstat (limited to 'x11-libs/vte/files/vte-0.24.1-background-color2.patch')
-rw-r--r--x11-libs/vte/files/vte-0.24.1-background-color2.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-libs/vte/files/vte-0.24.1-background-color2.patch b/x11-libs/vte/files/vte-0.24.1-background-color2.patch
new file mode 100644
index 0000000..a64b415
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.24.1-background-color2.patch
@@ -0,0 +1,41 @@
+From 9370647823ce29c1088c351381a07a5506b74c84 Mon Sep 17 00:00:00 2001
+From: Behdad Esfahbod <behdad@behdad.org>
+Date: Wed, 26 May 2010 17:09:47 +0000
+Subject: Bug 618749 - set terminal widget background color to terminal background
+
+---
+diff --git a/src/vte.c b/src/vte.c
+index 5f55335..545ad1b 100644
+--- a/src/vte.c
++++ b/src/vte.c
+@@ -12608,6 +12608,7 @@ vte_terminal_background_update(VteTerminal *terminal)
+ {
+ double saturation;
+ const PangoColor *entry;
++ GdkColor color;
+
+ /* If we're not realized yet, don't worry about it, because we get
+ * called when we realize. */
+@@ -12622,9 +12623,17 @@ vte_terminal_background_update(VteTerminal *terminal)
+ "Updating background image.\n");
+
+ entry = &terminal->pvt->palette[VTE_DEF_BG];
+- _vte_debug_print(VTE_DEBUG_MISC,
+- "Setting background color to (%d, %d, %d).\n",
+- entry->red, entry->green, entry->blue);
++ _vte_debug_print(VTE_DEBUG_BG,
++ "Setting background color to (%d, %d, %d, %d).\n",
++ entry->red, entry->green, entry->blue,
++ terminal->pvt->bg_opacity);
++
++ /* Set the terminal widget background color since otherwise we
++ * won't draw it for VTE_BG_SOURCE_NONE. */
++ color.red = entry->red;
++ color.green = entry->green;
++ color.blue = entry->blue;
++ gtk_widget_modify_bg (terminal, GTK_STATE_NORMAL, &color);
+
+ _vte_draw_set_background_solid (terminal->pvt->draw,
+ entry->red / 65535.,
+--
+cgit v0.8.3.1