fn keysym_for_key_spec(name: &str) -> u32Expand description
Keysym for one component of an xdotool-style key spec that is not a named key: a single
literal character (a, 7, -, #) via the Unicode mapping, or a keysym NAME
(minus, bracketleft, udiaeresis, …) via xkb’s name lookup (case-tolerant fallback
so Minus still resolves). Returns 0 when the spec names no keysym.