show_dock_shadow does not work after logging in
I have "Show shadows under dock windows" enabled in the Window Manager Tweaks but after logging in the compositor does not render shadows under docks. The option is still enabled. Disabling and re-enabling makes the shadows work.
So to work around this issue i currently run this script on login:
#!/bin/sh
xfconf-query -c xfwm4 -np '/general/show_dock_shadow' -t 'bool' -s 'false'
xfconf-query -c xfwm4 -np '/general/show_dock_shadow' -t 'bool' -s 'true'
This is on Arch Linux and XFCE 4.18