mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
layout: Use column.contains more
This commit is contained in:
+1
-1
@@ -1088,7 +1088,7 @@ impl<W: LayoutElement> Layout<W> {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user