From 62a8a9be524623de4bcfd3ca8e2c7f28b91c8b85 Mon Sep 17 00:00:00 2001 From: Seraphima Zykova Date: Thu, 29 Aug 2024 09:48:46 +0200 Subject: [PATCH] [Workspaces] Default hotkey update (#34468) --- src/modules/Workspaces/WorkspacesModuleInterface/dllmain.cpp | 4 ++-- src/settings-ui/Settings.UI.Library/WorkspacesProperties.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/Workspaces/WorkspacesModuleInterface/dllmain.cpp b/src/modules/Workspaces/WorkspacesModuleInterface/dllmain.cpp index e50c68331f..8ab4113e0d 100644 --- a/src/modules/Workspaces/WorkspacesModuleInterface/dllmain.cpp +++ b/src/modules/Workspaces/WorkspacesModuleInterface/dllmain.cpp @@ -365,8 +365,8 @@ private: // Hotkey to invoke the module HotkeyEx m_hotkey{ - .modifiersMask = MOD_SHIFT | MOD_WIN, - .vkCode = 0x4F, // O key; + .modifiersMask = MOD_CONTROL | MOD_WIN, + .vkCode = 0xC0, // VK_OEM_3 key; usually `~ }; }; diff --git a/src/settings-ui/Settings.UI.Library/WorkspacesProperties.cs b/src/settings-ui/Settings.UI.Library/WorkspacesProperties.cs index b61e1f5b87..8d4669bc73 100644 --- a/src/settings-ui/Settings.UI.Library/WorkspacesProperties.cs +++ b/src/settings-ui/Settings.UI.Library/WorkspacesProperties.cs @@ -16,7 +16,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library Name, } - public static readonly HotkeySettings DefaultHotkeyValue = new HotkeySettings(true, false, false, true, 0x4F); + public static readonly HotkeySettings DefaultHotkeyValue = new HotkeySettings(true, true, false, false, 0xC0); public WorkspacesProperties() {