fix systray

This commit is contained in:
Sakooooo 2023-09-11 07:44:57 +04:00
parent 70d08e1d68
commit ed55201709
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -629,6 +629,7 @@ clientmessage(XEvent *e)
updatesystrayicongeom(c, wa.width, wa.height);
XAddToSaveSet(dpy, c->win);
XSelectInput(dpy, c->win, StructureNotifyMask | PropertyChangeMask | ResizeRedirectMask);
XClassHint ch = {"dwmsystray", "dwmsystray"};
XReparentWindow(dpy, c->win, systray->win, 0, 0);
/* use parents background color */
swa.background_pixel = scheme[SchemeNorm][ColBg].pixel;