#include "lx.h" #include "internal.h" unsigned int lx_root_height(LX_CONN *xc, int n) { if ((xc->flags & XCF_FAIL) || (n < 0) || (n >= xc->nscreens)) return(0); return(xc->screens[n].h_pixels); }