From a6c9742110e832966b8411ba5145eb6df698170a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 18 Nov 2024 12:43:37 -0600 Subject: give the systray a class so picom can exclude it from rounding --- dwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwm.c b/dwm.c index ade8f8e..f9aea1e 100644 --- a/dwm.c +++ b/dwm.c @@ -737,6 +737,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; -- cgit v1.2.3