~kris/suckless

st

ref: 169e41e68736aa884f3b1894ffc5735f70e0edcd st/patch/netwmicon_legacy.c -rw-r--r-- 200 bytes
169e41e6 — Kris Yotam Migrate to st-flexipatch with sixel support 7 months 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));
}