FYI - some of the online man pages related to libX11 seem to be incorrectly formatted, making them hard to read. For example, XCreateGC(3) man page: https://man.netbsd.org/XCreateGC.3
Contrast this with OpenBSD: https://man.openbsd.org/XCreateGC The actual NetBSD man pages seem to be OK when viewed via man(1), it's just the formatting for online HTML files seems a bit buggy.