aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_config/compton.conf25
1 files changed, 6 insertions, 19 deletions
diff --git a/_config/compton.conf b/_config/compton.conf
index 5eed371..257c56b 100644
--- a/_config/compton.conf
+++ b/_config/compton.conf
@@ -80,28 +80,15 @@ shadow-opacity = 0.85;
# have visual glitches (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.
+#
+# The "_GTK_FRAME_EXTENTS@:c" fixes the weird double shadow around
+# GTK3 applications.
+# Credit: https://github.com/chjj/compton/issues/189
shadow-exclude = [
"! name~=''",
- "name = 'Notification'",
- "name = 'Plank'",
- "name = 'Docky'",
- "name = 'Kupfer'",
- "name = 'xfce4-notifyd'",
- "name *= 'VLC'",
- "name *= 'compton'",
- "name *= 'Chromium'",
- "name *= 'Chrome'",
- "name *= 'Firefox'",
- "class_g = 'Conky'",
- "class_g = 'Kupfer'",
- "class_g = 'Synapse'",
- "class_g ?= 'Notify-osd'",
- "class_g ?= 'Cairo-dock'",
- "class_g ?= 'Xfce4-notifyd'",
- "class_g ?= 'Xfce4-power-manager'"
+ "_GTK_FRAME_EXTENTS@:c"
];
# Avoid drawing shadow on all shaped windows
# (see also: --detect-rounded-corners)
@@ -150,7 +137,7 @@ fade-out-step = 0.03;
#no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
-fade-exclude = [ ];
+fade-exclude = [ "_GTK_FRAME_EXTENTS@:c" ];
#################################
# Other