diff options
| author | Craig Jennings <c@cjennings.net> | 2024-11-18 12:43:37 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-11-18 12:43:37 -0600 |
| commit | a6c9742110e832966b8411ba5145eb6df698170a (patch) | |
| tree | 9b8eb2c9ef75864968212a339d7ab73b443af509 | |
| parent | 1446c46e54b6e7dfc3f008cbe2353514a778a6be (diff) | |
give the systray a class so picom can exclude it from rounding
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
