From 150b983c6cb73c24b92e637136d04fcecfc81c70 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 17 Apr 2020 17:24:09 -0400
Subject: [PATCH] mate-tweak: improve check for software composition

---
 helpers/make-mate-tweak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/make-mate-tweak b/helpers/make-mate-tweak
index 2ede639c..e2886015 100644
--- a/helpers/make-mate-tweak
+++ b/helpers/make-mate-tweak
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=2
+VERSION=3
 
 . ./config
 
@@ -25,7 +25,7 @@ sed -i 's/manjaro/trisquel/g' mate-tweak
 sed -i 's/Manjaro/Trisquel/g' mate-tweak
 
 # Disable composition on llvm
-sed '2a # Do not run without 3D acceleration\nglxinfo | grep "renderer string:" | grep -q llvmpipe && exit 0\n' -i marco-compton
+sed 's/Software Rasterizer/Accelerated: no/' -i mate-tweak
 
 # Allow loading global compton config file
 sed '/config \/dev\/null/d' -i marco-compton
-- 
GitLab