aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs3
1 files changed, 3 insertions, 0 deletions
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();