Most of them are from Guy Keren's "Basic Graphics Programming With The Xlib Library".
Integrates well with dwm, but I don't have patch allowing me to display icons. On Qtile it doesn't show icon either.
It moves around!
It needs to be .xbm (I exported it from GIMP)
Changes cursor to icon.xbm
gcc -g -o out simple-drawing.c -lX11 && ./out
Don't see any need for a Makefile.