From 0621d5b61479632332763522068ec0e21e430983 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 3 Dec 2021 16:48:05 -0500
Subject: [PATCH] compton: improve shadow handling

---
 helpers/DATA/compton/compton.conf | 4 ++--
 helpers/make-compton              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/helpers/DATA/compton/compton.conf b/helpers/DATA/compton/compton.conf
index 015a5349..8f79d70d 100644
--- a/helpers/DATA/compton/compton.conf
+++ b/helpers/DATA/compton/compton.conf
@@ -77,7 +77,6 @@ shadow-opacity = 0.4;
 # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
 # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
 shadow-exclude = [
-    "argb && ! window_type *= 'menu'",
     "! name~=''",
     "name = 'Notification'",
     "name = 'Plank'",
@@ -96,7 +95,8 @@ shadow-exclude = [
     "class_g ?= 'Notify-osd'",
     "class_g ?= 'Cairo-dock'",
     "class_g ?= 'Xfce4-notifyd'",
-    "class_g ?= 'Xfce4-power-manager'"
+    "class_g ?= 'Xfce4-power-manager'",
+    "_GTK_FRAME_EXTENTS@:c"
 ];
 # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
 shadow-ignore-shaped = false;
diff --git a/helpers/make-compton b/helpers/make-compton
index 94c318fa..1f79ce6f 100644
--- a/helpers/make-compton
+++ b/helpers/make-compton
@@ -18,7 +18,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=10
+VERSION=11
 
 . ./config
 
-- 
GitLab