diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-28 10:14:02 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | 5b4750a009a9ce1d3c98045c18509b1157e5519b (patch) | |
| tree | e135f66fee5c5d3b4e6abb950b500cda55e01b99 /src/input | |
| parent | ad50dd21fea1912b9e21fb66a22fce517dac3aee (diff) | |
| download | niri-5b4750a009a9ce1d3c98045c18509b1157e5519b.tar.gz niri-5b4750a009a9ce1d3c98045c18509b1157e5519b.tar.bz2 niri-5b4750a009a9ce1d3c98045c18509b1157e5519b.zip | |
Add focus-floating/tiling actions
Diffstat (limited to 'src/input')
| -rw-r--r-- | src/input/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index c510a958..d874ee34 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1346,6 +1346,16 @@ impl State { self.niri.queue_redraw_all(); } } + Action::FocusFloating => { + self.niri.layout.focus_floating(); + // FIXME: granular + self.niri.queue_redraw_all(); + } + Action::FocusTiling => { + self.niri.layout.focus_tiling(); + // FIXME: granular + self.niri.queue_redraw_all(); + } Action::SwitchFocusBetweenFloatingAndTiling => { self.niri.layout.switch_focus_floating_tiling(); // FIXME: granular |
