exclude dwm systray from shadow
This commit is contained in:
parent
ec8b78b3ee
commit
d5b3a2869d
2 changed files with 3 additions and 1 deletions
|
@ -624,6 +624,8 @@ clientmessage(XEvent *e)
|
|||
updatesystrayicongeom(c, wa.width, wa.height);
|
||||
XAddToSaveSet(dpy, c->win);
|
||||
XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
||||
XClassHint ch = {"dwmsystray", "dwmsystray"};
|
||||
XSetClassHint(dpy, c->win, &ch);
|
||||
XReparentWindow(dpy, c->win, systray->win, 0, 0);
|
||||
/* use parents background color */
|
||||
swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
|
||||
|
|
|
@ -49,7 +49,7 @@ shadow-exclude = [
|
|||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"class_g = 'dwm'",
|
||||
"_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'",
|
||||
"class_g = 'dwmsystray'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue