From 476470e6f1d61e0005179661bccedb9c3e884860 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Tue, 4 Feb 2025 13:04:00 +0100 Subject: [PATCH] fix(config): wrong config context for system actions on startup --- src/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index bfd4e73f..2aa5ff75 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -228,7 +228,7 @@ impl Config { // Source key bindings from com.system76.CosmicSettings.Shortcuts let settings_context = shortcuts::context().expect("Failed to load shortcuts config"); - let system_actions = shortcuts::system_actions(&config); + let system_actions = shortcuts::system_actions(&settings_context); let mut shortcuts = shortcuts::shortcuts(&settings_context); // Add any missing default shortcuts recommended by the compositor.