From 13fe9c8ac362c5e9c7796a409be591518ce4190f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 29 Oct 2024 12:46:58 +0300 Subject: [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. --- src/input/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') 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; } -- cgit