From 3f6d3462b752937f61334b34e98fb7b9e016eea9 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Wed, 19 Apr 2017 23:30:56 -0400
Subject: [PATCH] Added make-mate-tweak, fixes screensaver issue

---
 .../mate-tweak/screensaver-nounredir.patch    | 20 +++++++++++++
 helpers/make-mate-tweak                       | 29 +++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 helpers/DATA/mate-tweak/screensaver-nounredir.patch
 create mode 100644 helpers/make-mate-tweak

diff --git a/helpers/DATA/mate-tweak/screensaver-nounredir.patch b/helpers/DATA/mate-tweak/screensaver-nounredir.patch
new file mode 100644
index 00000000..d861f6dc
--- /dev/null
+++ b/helpers/DATA/mate-tweak/screensaver-nounredir.patch
@@ -0,0 +1,20 @@
+--- a/marco-compton     2016-04-11 09:19:13.000000000 -0400
++++ b/marco-compton     2017-04-19 23:04:50.406817419 -0400
+@@ -40,6 +40,7 @@
+         --mark-wmwin-focused \
+         -r 10 -o 0.225 -l -12 -t -12 \
+         -c -C -G \
++        --unredir-if-possible-exclude "class_g = 'Mate-screensaver'" \
+         --shadow-exclude "! name~=''" \
+         --shadow-exclude "name = 'Notification'" \
+         --shadow-exclude "name = 'Plank'" \
+--- a/metacity-compton  2016-04-11 09:19:13.000000000 -0400
++++ b/metacity-compton  2017-04-19 23:04:35.926817421 -0400
+@@ -40,6 +40,7 @@
+         --mark-wmwin-focused \
+         -r 7 -o 0.09 -l -8 -t -8 \
+         -c -C -G \
++        --unredir-if-possible-exclude "class_g = 'Mate-screensaver'" \
+         --shadow-exclude "! name~=''" \
+         --shadow-exclude "name = 'Notification'" \
+         --shadow-exclude "name = 'Plank'" \
diff --git a/helpers/make-mate-tweak b/helpers/make-mate-tweak
new file mode 100644
index 00000000..bb200616
--- /dev/null
+++ b/helpers/make-mate-tweak
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+#    Copyright (C) 2017  Ruben Rodriguez <ruben@trisquel.info>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+patch -p1 < $DATA/screensaver-nounredir.patch
+
+changelog "Customize marco-compton settings"
+
+compile
+
-- 
GitLab