From 92cc2b89f75fd13d83208626fa49724216fbbf9e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 17 Feb 2025 21:22:10 +0300 Subject: Implement expand-column-to-available-width --- src/layout/workspace.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/layout/workspace.rs') diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 54926a1f..15f6b9b0 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -1128,6 +1128,13 @@ impl Workspace { } } + pub fn expand_column_to_available_width(&mut self) { + if self.floating_is_active.get() { + return; + } + self.scrolling.expand_column_to_available_width(); + } + pub fn set_fullscreen(&mut self, window: &W::Id, is_fullscreen: bool) { let mut unfullscreen_to_floating = false; if self.floating.has_window(window) { -- cgit