Skip to main content

parse_active_window_id

Function parse_active_window_id 

Source
pub(crate) fn parse_active_window_id(text: &str) -> Option<String>
Expand description

Linux xprop -root _NET_ACTIVE_WINDOW: extract the 0x… window id, rejecting the 0x0 “no active window” sentinel so we don’t chain a useless follow-up xprop call.