~kris/suckless

st

st/patch/netwmicon_legacy.c -rw-r--r-- 200 bytes
15f7a94e — Kris Yotam chore: sync local state after restore (push updates, no pull) a month ago
                                                                                
1
2
3
4
5
6
7
void
setnetwmicon(void)
{
	xw.netwmicon = XInternAtom(xw.dpy, "_NET_WM_ICON", False);
	XChangeProperty(xw.dpy, xw.win, xw.netwmicon, XA_CARDINAL, 32,
			PropModeReplace, (uchar *)&icon, LEN(icon));
}