From 4dd7578fe7c55e4b3154b212d757632d173c76c2 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 25 Dec 2023 11:06:03 +0400 Subject: layout: Use column.contains more --- src/layout/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 83e4c53a..0514e12c 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -1088,7 +1088,7 @@ impl Layout { for mon in &*monitors { for ws in &mon.workspaces { for col in &ws.columns { - if col.windows.contains(&window) { + if col.contains(&window) { width = Some(col.width); is_full_width = col.is_full_width; break; -- cgit