[Xfce4-commits] <xfce4-screenshooter:master> Increase transparency of selection background (bug #9592).

Jérôme Guelfucci noreply at xfce.org
Sat Dec 8 16:02:03 CET 2012


Updating branch refs/heads/master
         to 0b22517f1ea788ba5b71872e980034051921ab0e (commit)
       from 7440ccd48d5426a36cfcd2359e8e2bad610e8170 (commit)

commit 0b22517f1ea788ba5b71872e980034051921ab0e
Author: Sergio Cipolla <secipolla at gmail.com>
Date:   Thu Dec 6 07:54:51 2012 -0200

    Increase transparency of selection background (bug #9592).

 lib/screenshooter-capture.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index 52f7b5c..92e6f1b 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -523,7 +523,7 @@ static gboolean cb_expose (GtkWidget *widget,
       for (i = 0; i < n_rects; ++i)
         {
           /* Restore the transparent background */
-          cairo_set_source_rgba (cr, 0, 0, 0, 0.8);
+          cairo_set_source_rgba (cr, 0, 0, 0, 0.4);
           gdk_cairo_rectangle (cr, &rects[i]);
           cairo_fill (cr);
 
@@ -548,7 +548,7 @@ static gboolean cb_expose (GtkWidget *widget,
 
       /* Draw the transparent background */
       cr = gdk_cairo_create (GDK_DRAWABLE (widget->window));
-      cairo_set_source_rgba (cr, 0, 0, 0, 0.8);
+      cairo_set_source_rgba (cr, 0, 0, 0, 0.4);
       cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
 
       for (i = 0; i < n_rects; ++i)


More information about the Xfce4-commits mailing list