// Copyright status: this file is in the public domain. #include "lx.h" #include "internal.h" unsigned int lx_black_pixel(LX_CONN *xc, int n) { if ((xc->flags & XCF_FAIL) || (n < 0) || (n >= xc->nscreens)) return(0); return(xc->screens[n].blackpixel); }