pub fn new(n_screens: u32, events: Vec<XEvent>, unmanaged_ids: Vec<Xid>) -> Self {
        Self {
            events: Cell::new(events),
            focused: Cell::new(0),
            n_screens: Cell::new(n_screens),
            unmanaged_ids,
            client_geometry: Cell::new(Region::default()),
        }
    }
// Set up a new [MockXConn] with pre-defined [Screen]s and an event stream to pull from
Set up a new [MockXConn] with pre-defined [Screen]s and an event stream to pull from
Set up a new [ MockXConn ] with pre - defined [ Screen ] s and an event stream to pull from
pub fn new(n_screens: u32, events: Vec<XEvent>, unmanaged_ids: Vec<Xid>) -> Self {
        Self {
            events: Cell::new(events),
            focused: Cell::new(0),
            n_screens: Cell::new(n_screens),
            unmanaged_ids,
            client_geometry: Cell::new(Region::default()),
        }
    }
pub fn new ( n_screens : u32 , events : Vec < XEvent > , unmanaged_ids : Vec < Xid > ) -> Self { Self { events : Cell :: new ( events ) , focused : Cell :: new ( 0 ) , n_screens : Cell :: new ( n_screens ) , unmanaged_ids , client_geometry : Cell :: new ( Region :: default ( ) ) , } }
Set up a new [MockXConn] with pre-defined [Screen]s and an event stream to pull from
Set up a new [ MockXConn ] with pre - defined [ Screen ] s and an event stream to pull from
n_screens
u32
events
Vec<XEvent>
unmanaged_ids
Vec<Xid>