wzrd

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

window.rs (686B)


      1 pub type Window = u32;
      2 
      3 #[derive(Debug, Copy, Clone, PartialOrd, Ord, PartialEq, Eq)]
      4 pub enum IcccmWindowState {
      5     Withdrawn,
      6     Normal,
      7     Iconic,
      8 }
      9 
     10 #[derive(Debug, Copy, Clone, PartialOrd, Ord, PartialEq, Eq)]
     11 pub enum WindowState {
     12     Modal,
     13     Sticky,
     14     MaximizedVert,
     15     MaximizedHorz,
     16     Shaded,
     17     SkipTaskbar,
     18     SkipPager,
     19     Hidden,
     20     Fullscreen,
     21     Above,
     22     Below,
     23     DemandsAttention,
     24 }
     25 
     26 #[derive(Debug, Copy, Clone, PartialOrd, Ord, PartialEq, Eq)]
     27 pub enum WindowType {
     28     Desktop,
     29     Dock,
     30     Toolbar,
     31     Menu,
     32     Utility,
     33     Splash,
     34     Dialog,
     35     DropdownMenu,
     36     PopupMenu,
     37     Tooltip,
     38     Notification,
     39     Combo,
     40     Dnd,
     41     Normal,
     42 }