pub fn focus_window_with_point(&mut self, x: i32, y: i32) {
        let handle_found: Option<WindowHandle<H>> = self
            .windows
            .iter()
            .filter(|x| x.can_focus())
            .find(|w| w.contains_point(x, y))
            .map(|w| w.handle);
        match handle_found {
            Some(found) => self.focus_window(&found),
            // backup plan, move focus closest window in workspace
            None => self.focus_closest_window(x, y),
        }
    }
Focuses the window containing a given point.
leftwm-core/src/handlers/focus_handler.rs