diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-11 09:33:23 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-05-11 09:33:23 +0400 |
| commit | 1c14a0a2a97867878c65ea33fa8b927618efb555 (patch) | |
| tree | 16bb26bf1d8b83fca5d768bce7577443e26584e5 /src/input.rs | |
| parent | 2fd9a03bd71b4709659cdd35192109b47c3b0e10 (diff) | |
| download | niri-1c14a0a2a97867878c65ea33fa8b927618efb555.tar.gz niri-1c14a0a2a97867878c65ea33fa8b927618efb555.tar.bz2 niri-1c14a0a2a97867878c65ea33fa8b927618efb555.zip | |
Add a reset-window-height action
Diffstat (limited to 'src/input.rs')
| -rw-r--r-- | src/input.rs | 3 |
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(); |
