diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-06 08:42:09 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | 8f9e0d029c84f6a15c842c3bccd694fac0516c0a (patch) | |
| tree | 0d26dac9ac4b9519b6a0f3f39010f56a354e67a7 /src/input | |
| parent | 90f24da6317dea022fff89d538c9ba21a580e97b (diff) | |
| download | niri-8f9e0d029c84f6a15c842c3bccd694fac0516c0a.tar.gz niri-8f9e0d029c84f6a15c842c3bccd694fac0516c0a.tar.bz2 niri-8f9e0d029c84f6a15c842c3bccd694fac0516c0a.zip | |
Add set-column-display action
Diffstat (limited to 'src/input')
| -rw-r--r-- | src/input/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index 54b8a827..8abccd67 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1265,6 +1265,12 @@ impl State { // FIXME: granular self.niri.queue_redraw_all(); } + Action::SetColumnDisplay(display) => { + self.niri.layout.set_column_display(display); + self.maybe_warp_cursor_to_focus(); + // FIXME: granular + self.niri.queue_redraw_all(); + } Action::SwitchPresetColumnWidth => { self.niri.layout.toggle_width(); } |
