aboutsummaryrefslogtreecommitdiff
path: root/src/layout/monitor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/monitor.rs')
-rw-r--r--src/layout/monitor.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs
index 8abaf5f6..1aae32e0 100644
--- a/src/layout/monitor.rs
+++ b/src/layout/monitor.rs
@@ -840,6 +840,10 @@ impl<W: LayoutElement> Monitor<W> {
self.active_workspace().set_column_width(change);
}
+ pub fn expand_column_to_available_width(&mut self) {
+ self.active_workspace().expand_column_to_available_width();
+ }
+
pub fn move_workspace_down(&mut self) {
let mut new_idx = min(self.active_workspace_idx + 1, self.workspaces.len() - 1);
if new_idx == self.active_workspace_idx {