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:
Ivan Molodetskikh
2024-12-08 09:15:10 +03:00
parent 27e607ab82
commit 9824321fc9
+1 -1
View File
@@ -1384,7 +1384,7 @@ impl<W: LayoutElement> Layout<W> {
_ => mon.switch_workspace(workspace_idx), _ => mon.switch_workspace(workspace_idx),
} }
break; return;
} }
} }
} }