remove main_mod

This commit is contained in:
vaxerski
2022-12-28 19:52:12 +01:00
parent a6699ef30c
commit b4ebc18367
2 changed files with 2 additions and 8 deletions

View File

@@ -35,8 +35,6 @@ void CConfigManager::setDefaultVars() {
configValues["general:max_fps"].intValue = 60;
configValues["general:sensitivity"].floatValue = 1.0f;
configValues["general:apply_sens_to_raw"].intValue = 0;
configValues["general:main_mod"].strValue = "SUPER"; // exposed to the user for easier configuring
configValues["general:main_mod_internal"].intValue = g_pKeybindManager->stringToModMask("SUPER"); // actually used and automatically calculated
configValues["general:border_size"].intValue = 1;
configValues["general:no_border_on_floating"].intValue = 0;
@@ -1242,9 +1240,6 @@ void CConfigManager::loadConfigLoadVars() {
g_pInputManager->setTabletConfigs();
}
// Calculate the internal vars
configValues["general:main_mod_internal"].intValue = g_pKeybindManager->stringToModMask(configValues["general:main_mod"].strValue);
if (!isFirstLaunch)
g_pHyprOpenGL->m_bReloadScreenShader = true;