[wiki] [sites] [dwm][patches][systray] patch for dwm 6.7 (update after regression fix) || Aleksei Kozadaev

From: <git_AT_suckless.org>
Date: Tue, 20 Jan 2026 23:13:36 +0100

commit d893c7ab3871c86248f97d8bb4b8ae3c42a5fa2f
Author: Aleksei Kozadaev <akozadaev at yahoo com>
Date: Tue Jan 20 22:13:12 2026 +0000

    [dwm][patches][systray] patch for dwm 6.7 (update after regression fix)

diff --git a/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff b/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff
index 0a569bdd..132f8f83 100644
--- a/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff
+++ b/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff
_AT_@ -315,11 +315,11 @@ index 8f4fa75..4b4fbb2 100644
 + req = xatom[XembedInfo];
 +
 + if (XGetWindowProperty(dpy, c->win, prop, 0L, sizeof atom, False, req,
- &da, &di, &dl, &dl, &p) == Success && p) {
-- if (dl > 0)
+ &da, &di, &nitems, &dl, &p) == Success && p) {
+- if (nitems > 0)
 - atom = *(Atom *)p;
 + atom = *(Atom *)p;
-+ if (da == xatom[XembedInfo] && dl == 2)
++ if (da == xatom[XembedInfo] && nitems == 2)
 + atom = ((Atom *)p)[1];
                  XFree(p);
          }
Received on Tue Jan 20 2026 - 23:13:36 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 20 2026 - 23:24:44 CET