sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit d893c7ab3871c86248f97d8bb4b8ae3c42a5fa2f
parent a926b88b876517b26faad139494af54e3ba73039
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:
Mdwm.suckless.org/patches/systray/dwm-systray-6.7.diff | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

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); }