myvxwm

[fork] my vxwm config (optimised for my T480)
git clone https://git.lukeonline.net/repos/myvxwm
Log | Files | Refs | README | LICENSE

commit d1088f16f0dcc653f6987ee92141b7bfb5e19c04
parent b363b823beb029c452b842dfbd1d1e2a3ceed742
Author: wh1tepearl <wh1tepearl@gmail.com>
Date:   Sun,  1 Feb 2026 19:58:46 +0000

Update default codebase to dwm 6.8 codebase

Diffstat:
Mvxwm.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vxwm.c b/vxwm.c @@ -1,5 +1,5 @@ /* See LICENSE file for copyright and license details. -This wm is forked from dwm 6.7, thanks suckless for their incredible work on dwm! +This wm is forked from dwm 6.7 (but keep up with all dwm's updates), thanks suckless for their incredible work on dwm! vxwm 1.4 // by wh1tepearl @@ -932,13 +932,13 @@ Atom getatomprop(Client *c, Atom prop) { int di; - unsigned long dl; + unsigned long nitems, dl; unsigned char *p = NULL; Atom da, atom = None; if (XGetWindowProperty(dpy, c->win, prop, 0L, sizeof atom, False, XA_ATOM, - &da, &di, &dl, &dl, &p) == Success && p) { - if (dl > 0) + &da, &di, &nitems, &dl, &p) == Success && p) { + if (nitems > 0) atom = *(Atom *)p; XFree(p); }