diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-22 14:04:18 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-22 14:04:18 +0400 |
| commit | af6485cd8c85665b15ef8d2c812da17604ca4e32 (patch) | |
| tree | 25342f9f4da55b891b1e996ed99ead4dba07a662 /src/layout/mod.rs | |
| parent | f32a25eefefa23a0849a8f3c2710bcfd4fd8d5a0 (diff) | |
| download | niri-af6485cd8c85665b15ef8d2c812da17604ca4e32.tar.gz niri-af6485cd8c85665b15ef8d2c812da17604ca4e32.tar.bz2 niri-af6485cd8c85665b15ef8d2c812da17604ca4e32.zip | |
Fix new warnings
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index de43488b..edc0d9de 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -34,7 +34,7 @@ use std::mem; use std::rc::Rc; use std::time::Duration; -use niri_config::{self, CenterFocusedColumn, Config, Struts}; +use niri_config::{CenterFocusedColumn, Config, Struts}; use niri_ipc::SizeChange; use smithay::backend::renderer::element::solid::SolidColorRenderElement; use smithay::backend::renderer::element::surface::WaylandSurfaceRenderElement; @@ -885,7 +885,7 @@ impl<W: LayoutElement> Layout<W> { } let col = &ws.columns[ws.active_column_idx]; - Some((&col.tiles[col.active_tile_idx].window(), &mon.output)) + Some((col.tiles[col.active_tile_idx].window(), &mon.output)) } pub fn windows_for_output(&self, output: &Output) -> impl Iterator<Item = &W> + '_ { |
