layout: Return instead of breaking
Browse files at this commit9824321fc9499b9987f344308a5c5c69cb9b7a77Parent: 27e607a1 changed file +1 -1
- src/layout/mod.rs +1 -1
src/layout/mod.rsmodified+1 -1
| @@ -1384,7 +1384,7 @@ impl<W: LayoutElement> Layout<W> { | ||
| 1384 | 1384 | _ => mon.switch_workspace(workspace_idx), |
| 1385 | 1385 | } |
| 1386 | 1386 | |
| 1387 | - break; | |
| 1387 | + return; | |
| 1388 | 1388 | } |
| 1389 | 1389 | } |
| 1390 | 1390 | } |