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