From 1c14a0a2a97867878c65ea33fa8b927618efb555 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 11 May 2024 09:33:23 +0400 Subject: Add a reset-window-height action --- src/input.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/input.rs') diff --git a/src/input.rs b/src/input.rs index 95f16b9b..208d48f0 100644 --- a/src/input.rs +++ b/src/input.rs @@ -780,6 +780,9 @@ impl State { Action::SetWindowHeight(change) => { self.niri.layout.set_window_height(change); } + Action::ResetWindowHeight => { + self.niri.layout.reset_window_height(); + } Action::ShowHotkeyOverlay => { if self.niri.hotkey_overlay.show() { self.niri.queue_redraw_all(); -- cgit