From ed5520170906b30b50a18ff1971675b7773a6ee5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 11 Sep 2023 07:44:57 +0400 Subject: [PATCH] fix systray --- config/dwm/dwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config/dwm/dwm.c b/config/dwm/dwm.c index 44e262ab..d99a7f51 100644 --- a/config/dwm/dwm.c +++ b/config/dwm/dwm.c @@ -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;