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