gestures: add workspace_swipe_use_r

This commit is contained in:
vaxerski
2023-07-01 16:30:36 +02:00
parent 6c28388420
commit 86ca283352
2 changed files with 10 additions and 7 deletions

View File

@@ -209,6 +209,7 @@ void CConfigManager::setDefaultVars() {
configValues["gestures:workspace_swipe_create_new"].intValue = 1;
configValues["gestures:workspace_swipe_forever"].intValue = 0;
configValues["gestures:workspace_swipe_numbered"].intValue = 0;
configValues["gestures:workspace_swipe_use_r"].intValue = 0;
configValues["xwayland:use_nearest_neighbor"].intValue = 1;
configValues["xwayland:force_zero_scaling"].intValue = 0;
@@ -1565,13 +1566,13 @@ void CConfigManager::loadConfigLoadVars() {
for (auto& w : g_pCompositor->m_vWindows) {
if (!w->m_bIsMapped)
continue;
w->updateDynamicRules();
}
// Update window border colors
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
// update layout
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);