diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-29 12:46:58 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-29 21:52:03 -0700 |
| commit | 13fe9c8ac362c5e9c7796a409be591518ce4190f (patch) | |
| tree | 70cc2c5c66294ce1b0c6b96cedac86617d43b6a2 /src/input/mod.rs | |
| parent | 6ecbf2db8a31484fe88b8faa399b9832da6c8a6a (diff) | |
| download | niri-13fe9c8ac362c5e9c7796a409be591518ce4190f.tar.gz niri-13fe9c8ac362c5e9c7796a409be591518ce4190f.tar.bz2 niri-13fe9c8ac362c5e9c7796a409be591518ce4190f.zip | |
[cfg-breaking] Rename hide-on-key-press to hide-when-typing
I originally preferred on-key-press, but when-typing feels more natural
and matches sway. This setting had not been in a stable release yet so
this is not stable release cfg breaking.
Diffstat (limited to 'src/input/mod.rs')
| -rw-r--r-- | src/input/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index 07c77e8c..9722d9b7 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -423,7 +423,7 @@ impl State { } fn hide_cursor_if_needed(&mut self) { - if !self.niri.config.borrow().cursor.hide_on_key_press { + if !self.niri.config.borrow().cursor.hide_when_typing { return; } |
