netwmicon: upgrading patch and adding farbfeld variant (#121)

This commit is contained in:
Stein Gunnar Bakkeby 2024-03-13 10:35:17 +01:00 committed by GitHub
parent 3b87b07404
commit 0b8055a271
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 836 additions and 697 deletions

7
patch/netwmicon_legacy.c Normal file
View file

@ -0,0 +1,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));
}