wzrd

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

macros.rs (253B)


      1 #[macro_export]
      2 macro_rules! map(
      3     { $($key:expr => $val:expr,)+ } => {
      4         {
      5             let mut map = ::std::collections::HashMap::new();
      6             $(
      7                 map.insert($key, $val);
      8             )+
      9             map
     10         }
     11     };
     12 );