diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-11-18 13:16:51 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-11-18 13:18:30 +0300 |
| commit | c256842761b8b7eba7c8663cd1b02fcf3ab75ea0 (patch) | |
| tree | cb7b40754b50af654554c5d0c69ee8f5e3ebca16 /src | |
| parent | 7f19d268b3563e3683eaca02d9665fed66ce862e (diff) | |
| download | niri-c256842761b8b7eba7c8663cd1b02fcf3ab75ea0.tar.gz niri-c256842761b8b7eba7c8663cd1b02fcf3ab75ea0.tar.bz2 niri-c256842761b8b7eba7c8663cd1b02fcf3ab75ea0.zip | |
Change recent-windows binds to have lower precedence
Otherwise it breaks people's existing binds.
Diffstat (limited to 'src')
| -rw-r--r-- | src/input/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index a952a23a..e8a4c5ee 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -4937,8 +4937,8 @@ fn make_binds_iter<'a>( let mru_open_binds = mru.is_open().then(|| mru.opened_bindings(mods)); let mru_open_binds = mru_open_binds.into_iter().flatten(); - // MRU binds take precedence over general ones. - mru_binds.chain(mru_open_binds).chain(general_binds) + // General binds take precedence over the MRU binds. + general_binds.chain(mru_binds).chain(mru_open_binds) } #[cfg(test)] |
