Repository navigation
There are shadows under the systray icons (with systray patch) #134
bakkeby
started this conversation in
Known Issues
Replies: 2 comments
|
For some reason the shadow just re-appears sometimes and I don't know why, like for example I left to go get something and I took about 2 minutes then came back, opened discord and the shadow was under the systray. My dotfiles are in the "newdotfiles" repo on my github incase maybe its something wrong with my picom config? I also have my dwm on my profile. EDIT: it seems as if it works first time but when i restart discord the shadow comes back. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Most systray patches manage systray icons in a window separate from the bar in dwm, and just allocates free space within the bar or next to it for the systray window.
Shadows are added by the compositor, but the compositor has no way to identify this systray window hence there is no way to exclude shadows being drawn for that specific window.
To fix this you can try one of the following methods:
1) add class hints that you can use in the compositor configuration when it comes to excluding shadows. In the
clientmessagefunction when creating the systray window add the following code [ref]:It should be noted that shadows on systray icons, at least in some versions of picom, is thought to be one cause of dwm (or X) unexpectedly crashing.
Once the class hint is in place add this to the
shadow-excludesetting in your picom.conf [ref].shadow-exclude = [ ... "class_g = 'dwmsystray'", ... ];2) alternatively add this to the
shadow-excludesetting in your picom.conf:shadow-exclude = [ ... "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'", ... ];All reactions