Fix requires_clear setting
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 26 May 2010 17:09:25 +0000 (13:09 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 26 May 2010 17:09:25 +0000 (13:09 -0400)
Part of Bug 618749 - [PATCH] set terminal widget background color to terminal

src/vtedraw.c

index c6971e4..7a0c535 100644 (file)
@@ -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);