URI:
       [dwm][patches][systray] patch for dwm 6.7 (update after regression fix) - sites - public wiki contents of suckless.org
  HTML git clone git://git.suckless.org/sites
   DIR Log
   DIR Files
   DIR Refs
       ---
   DIR commit d893c7ab3871c86248f97d8bb4b8ae3c42a5fa2f
   DIR parent a926b88b876517b26faad139494af54e3ba73039
  HTML Author: Aleksei Kozadaev <akozadaev at yahoo com>
       Date:   Tue, 20 Jan 2026 22:13:12 +0000
       
       [dwm][patches][systray] patch for dwm 6.7 (update after regression fix)
       
       Diffstat:
         M dwm.suckless.org/patches/systray/d… |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff b/dwm.suckless.org/patches/systray/dwm-systray-6.7.diff
       @@ -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);
                 }