compton: improve shadow handling

This commit is contained in:
Ruben Rodriguez 2021-12-03 16:48:05 -05:00
parent 4d76e2f43c
commit 0621d5b614
2 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,6 @@ shadow-opacity = 0.4;
# (most applications are fine, only apps that do weird things with xshapes or argb are affected). # (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. # 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 = [ shadow-exclude = [
"argb && ! window_type *= 'menu'",
"! name~=''", "! name~=''",
"name = 'Notification'", "name = 'Notification'",
"name = 'Plank'", "name = 'Plank'",
@ -96,7 +95,8 @@ shadow-exclude = [
"class_g ?= 'Notify-osd'", "class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'", "class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'", "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) # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false; shadow-ignore-shaped = false;

View file

@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=10 VERSION=11
. ./config . ./config