summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@src.gnome.org>2002-05-20 14:06:30 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-05-20 14:06:30 +0000
commit0b343b1d7b1aae735b86ef5eb0760c91d5b867ed (patch)
treeab535e84a73194386bedd1ad4e268078b027c550
parenta19cc1f83fb4ad89b68bcf46b6a738a9176148fe (diff)
2002-05-18 andersca Don't queue a background update if the background
2002-05-18 andersca * src/vte.c: Don't queue a background update if the background isn't transparent.
-rw-r--r--ChangeLog3
-rw-r--r--src/vte.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bbdbb49..2d7cf1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2002-05-18 andersca
+ * src/vte.c: Don't queue a background update if the background isn't
+ transparent.
2002-05-16 nalin
* src/vte.c: Snip trailing whitespace off of copied lines, insert
an end-of-line only when the copied line doesn't go to the right edge,
diff --git a/src/vte.c b/src/vte.c
index 9119854..695346c 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -5733,7 +5733,10 @@ vte_terminal_configure_toplevel(GtkWidget *widget, GdkEventConfigure *event,
g_return_val_if_fail(GTK_IS_WIDGET(widget), FALSE);
g_return_val_if_fail(GTK_WIDGET_TOPLEVEL(widget), FALSE);
g_return_val_if_fail(VTE_IS_TERMINAL(data), FALSE);
- vte_terminal_queue_background_update(VTE_TERMINAL(data));
+
+ if (VTE_TERMINAL (data)->pvt->bg_transparent)
+ vte_terminal_queue_background_update(VTE_TERMINAL(data));
+
return FALSE;
}