A new style desktop shell for Windows 11: menu bar, Dock, Finder, Spotlight, Control Center and Liquid Glass, in native C++.
Rust
Keyboard: activate conflict handling independently
Eternity0706281ad31236b5f2
diff --git a/src/shell/main.cpp b/src/shell/main.cppindex a3c63d0..f96b85b 100644--- a/src/shell/main.cpp+++ b/src/shell/main.cpp@@ -1,4 +1,4 @@-// Shell.exe: barra de menus + Dock + bandeja no estilo do macOS Sequoia, por cima do Explorador.+// Shell.exe: barra de menus + Dock + bandeja no estilo do macOS Sequoia, por cima do Explorador.// Enquanto roda, esconde a barra de tarefas do Windows e ajusta a área de trabalho; ao sair// (menu do logo → Sair do Shell, Ctrl+Alt+Shift+F12, ou erro), devolve tudo como estava.#include "shell.h"@@ -105,7 +105,7 @@ static void UpdateKeyboardRemap() {g_swapLeftModifiers = shell::Setting(L"trocar_alt_ctrl_esquerdos", L"0") == L"1";g_macSpaceKeys = shell::Setting(L"atalhos_espaco_mac", L"0") == L"1";g_stopOtherMappings = shell::Setting(L"parar_mapeamentos_externos", L"0") == L"1";- if (!g_stopOtherMappings || (!g_swapLeftModifiers && !g_macSpaceKeys)) {+ if (!g_stopOtherMappings) {g_remapBlocked = false;return;}