Fix picom dwmtray
This commit is contained in:
parent
bba5360831
commit
9b342a6bcb
2
dwm.c
2
dwm.c
@ -672,6 +672,8 @@ clientmessage(XEvent *e)
|
||||
updatesystrayicongeom(c, wa.width, wa.height);
|
||||
XAddToSaveSet(dpy, c->win);
|
||||
XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
|
||||
XClassHint ch = {"dwmtray", "dwmtray"};
|
||||
XSetClassHint(dpy, c->win, &ch);
|
||||
XReparentWindow(dpy, c->win, systray->win, 0, 0);
|
||||
/* use parents background color */
|
||||
swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;
|
||||
|
Loading…
Reference in New Issue
Block a user