summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-05 13:22:18 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-05 13:22:18 +0000
commitcfbab453e88336c4714868f40eb3c8b159cfa783 (patch)
tree013c75223df371898df406f985853c2ac3d4a0ca /src
parent6a59b57ef8893427f990711aebdb2396acb70cdc (diff)
move no_direct_scanout to misc
Diffstat (limited to 'src')
-rw-r--r--src/config/ConfigManager.cpp3
-rw-r--r--src/events/Monitors.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index c4524072..829b0230 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -44,8 +44,6 @@ void CConfigManager::setDefaultVars() {
configValues["general:cursor_inactive_timeout"].intValue = 0;
configValues["general:no_cursor_warps"].intValue = 0;
- configValues["general:no_direct_scanout"].intValue = 0;
-
configValues["general:layout"].strValue = "dwindle";
configValues["misc:disable_hyprland_logo"].intValue = 0;
@@ -60,6 +58,7 @@ void CConfigManager::setDefaultVars() {
configValues["misc:enable_swallow"].intValue = 0;
configValues["misc:swallow_regex"].strValue = STRVAL_EMPTY;
configValues["misc:focus_on_activate"].intValue = 0;
+ configValues["misc:no_direct_scanout"].intValue = 0;
configValues["debug:int"].intValue = 0;
configValues["debug:log_damage"].intValue = 0;
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp
index 2a0cacc5..b2b15136 100644
--- a/src/events/Monitors.cpp
+++ b/src/events/Monitors.cpp
@@ -109,7 +109,7 @@ void Events::listener_monitorFrame(void* owner, void* data) {
static auto *const PDAMAGETRACKINGMODE = &g_pConfigManager->getConfigValuePtr("debug:damage_tracking")->intValue;
static auto *const PDAMAGEBLINK = &g_pConfigManager->getConfigValuePtr("debug:damage_blink")->intValue;
static auto *const PNOVFR = &g_pConfigManager->getConfigValuePtr("misc:no_vfr")->intValue;
- static auto *const PNODIRECTSCANOUT = &g_pConfigManager->getConfigValuePtr("general:no_direct_scanout")->intValue;
+ static auto *const PNODIRECTSCANOUT = &g_pConfigManager->getConfigValuePtr("misc:no_direct_scanout")->intValue;
static int damageBlinkCleanup = 0; // because double-buffered