mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
layout: Return instead of breaking
There's no code past this, and we want to break out of all loops.
This commit is contained in:
+1
-1
@@ -1384,7 +1384,7 @@ impl<W: LayoutElement> Layout<W> {
|
|||||||
_ => mon.switch_workspace(workspace_idx),
|
_ => mon.switch_workspace(workspace_idx),
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user