pub fn drop_window_id(&mut self, window_id: WindowId) -> bool {
        if let Some((monitor, idx)) = self.find_window_idx(window_id) {
            let window = self.monitor_windows
                .get_mut(&monitor).unwrap()
                .get_mut(idx).unwrap();

            window.marked_for_destroy = true;
            self.dirty = true;
            return true;
        }

        false
    }
// Drop a window.  Return true if we found the window and told it to drop, false otherwise.
Drop a window.  Return true if we found the window and told it to drop, false otherwise.
Drop a window . Return true if we found the window and told it to drop false otherwise .
pub fn drop_window_id(&mut self, window_id: WindowId) -> bool {
        if let Some((monitor, idx)) = self.find_window_idx(window_id) {
            let window = self.monitor_windows
                .get_mut(&monitor).unwrap()
                .get_mut(idx).unwrap();
            window.marked_for_destroy = true;
            self.dirty = true;
            return true;
        }
        false
    }
pub fn drop_window_id ( & mut self , window_id : WindowId ) -> bool { if let Some ( ( monitor , idx ) ) = self . find_window_idx ( window_id ) { let window = self . monitor_windows . get_mut ( & monitor ) . unwrap ( ) . get_mut ( idx ) . unwrap ( ) ; window . marked_for_destroy = true ; self . dirty = true ; return true ; } false }
Drop a window.
Drop a window .
&mut self
window_id
WindowId
&mut self
window_id
WindowId