Commit c13d08bd authored by Jackson Doak's avatar Jackson Doak

Add git_selection_background_tranparency.patch.

Make the selection background more transparent. lp:#1204452 closes: #755864
parent 4267dbbc
xfce4-screenshooter (1.8.1-4) UNRELEASED; urgency=medium
* Add git_selection_background_tranparency.patch.
Make the selection background more transparent. lp:#1204452 closes: #755864
-- Jackson Doak <noskcaj@ubuntu.com> Thu, 02 Oct 2014 12:17:23 +1000
xfce4-screenshooter (1.8.1-3) unstable; urgency=medium
[ Evgeni Golov ]
......
From 0b22517f1ea788ba5b71872e980034051921ab0e Mon Sep 17 00:00:00 2001
From: Sergio Cipolla <secipolla@gmail.com>
Date: Thu, 6 Dec 2012 07:54:51 -0200
Subject: Increase transparency of selection background (bug #9592).
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)
--
cgit v0.10.1
01_fix-plugin-build.patch
git_selection_background_tranparency.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment