all repos — slstatus @ 113979e5b8398a2c26736749480fe32b5c49a66b

my build of slstatus (tools.suckless.org/slstatus/)

status_reset.c

1 2 3 4 5 6 7 8 9 10
#include <X11/Xlib.h>

int
main(void)
{
	Display *dpy = XOpenDisplay(NULL);
	XStoreName(dpy, DefaultRootWindow(dpy), NULL);
	XCloseDisplay(dpy);
	return (0);
}