| 1 |
use super::{GapConfig, Layout, WindowGeometry};
|
| 2 |
use x11rb::protocol::xproto::Window;
|
| 3 |
|
| 4 |
pub struct NormieLayout;
|
| 5 |
|
| 6 |
// This layout should return a no-op similar to DWM.C's "null" mode.
|
| 7 |
impl Layout for NormieLayout {
|
| 8 |
fn name(&self) -> &'static str {
|
| 9 |
super::LayoutType::Normie.as_str()
|
| 10 |
}
|
| 11 |
|
| 12 |
fn symbol(&self) -> &'static str {
|
| 13 |
"><>"
|
| 14 |
}
|
| 15 |
|
| 16 |
fn arrange(
|
| 17 |
&self,
|
| 18 |
_windows: &[Window],
|
| 19 |
_screen_width: u32,
|
| 20 |
_screen_height: u32,
|
| 21 |
_gaps: &GapConfig,
|
| 22 |
_master_factor: f32,
|
| 23 |
_num_master: i32,
|
| 24 |
_smartgaps_enabled: bool,
|
| 25 |
) -> Vec<WindowGeometry> {
|
| 26 |
Vec::new()
|
| 27 |
}
|
| 28 |
}
|