[vte] Fix requires_clear setting



commit 430dd34fa9532fa492ea512f226e8483d1393716
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed May 26 13:09:25 2010 -0400

    Fix requires_clear setting
    
    Part of Bug 618749 - [PATCH] set terminal widget background color to terminal

 src/vtedraw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vtedraw.c b/src/vtedraw.c
index c6971e4..7a0c535 100644
--- a/src/vtedraw.c
+++ b/src/vtedraw.c
@@ -873,7 +873,7 @@ _vte_draw_set_background_solid(struct _vte_draw *draw,
 			       double blue,
 			       double opacity)
 {
-	draw->requires_clear = opacity != 0xFFFF;
+	draw->requires_clear = opacity != 1;
 
 	if (draw->bg_pattern)
 		cairo_pattern_destroy (draw->bg_pattern);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]