From 9e0d2f986f78a25838d5d8c0645b8965f9c27776 Mon Sep 17 00:00:00 2001 From: VassiliDev Date: Tue, 17 Aug 2021 06:36:20 -0400 Subject: [PATCH] Changed erroneous default.conf default --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index bc809a8..b2f3bfc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -210,9 +210,7 @@ fn main() -> Result<(), String> { let old_state_owned = get_window_server_rotation_state(display, &backend)?; let mut old_state = old_state_owned.as_str(); - let normalization_factor = matches - .value_of("normalization-factor") - .unwrap_or("default.conf"); + let normalization_factor = matches.value_of("normalization-factor").unwrap_or("1e6"); let normalization_factor = normalization_factor.parse::().unwrap_or(1e6); let keyboards = get_keyboards(&backend)?;