euro_focus/
focused_window.rs

1/// Snapshot of the currently focused window.
2#[derive(Debug, Clone, PartialEq, Eq)]
3pub struct FocusedWindow {
4    /// Process ID of the focused window.
5    pub process_id: Option<u32>,
6    /// Reported process name (e.g. "firefox", "chrome", "code").
7    pub process_name: Option<String>,
8    /// Full window title/caption as provided by the OS.
9    pub window_title: Option<String>,
10    /// Raw icon data (may be `None` if not retrievable on the platform).
11    pub icon: Option<image::RgbaImage>,
12}