pubmodgeometry;pubmodcolor;usestd::sync::Arc;useerror::*;use xcb;// Get the screen from an XCB Connection
pubfnscreen(conn:&Arc<xcb::Connection>)->Result<xcb::Screen>{
conn.get_setup().roots().next().ok_or_else(||ErrorKind::XcbNoScreenError(()).into())}