wzrd

An ICCCM & EWMH compliant X11 reparenting, dynamic window manager, written in Rust
git clone git://git.deurzen.net/wzrd
Log | Files | Refs | LICENSE

jump.rs (405B)


      1 use crate::client::Client;
      2 use crate::compare::MatchMethod;
      3 use crate::identify::Index;
      4 use crate::workspace::ClientSelector;
      5 
      6 #[derive(Clone, Copy)]
      7 pub enum JumpCriterium {
      8     OnWorkspaceBySelector(Index, &'static ClientSelector),
      9     ByName(MatchMethod<&'static str>),
     10     ByClass(MatchMethod<&'static str>),
     11     ByInstance(MatchMethod<&'static str>),
     12     ForCond(&'static dyn Fn(&Client) -> bool),
     13 }