aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-04-01 19:37:25 +0100
committervaxerski <[email protected]>2023-04-01 19:37:30 +0100
commit88a96110b73d74cbef37a60378941fa4f7318f1f (patch)
treef233e52b7521a4176c2ebe9e4d1703230a9c41bd
parent2b4d96e0efe4ce4a13b8cdef0d1ff5981f674542 (diff)
downloadHyprland-88a96110b73d74cbef37a60378941fa4f7318f1f.tar.gz
Hyprland-88a96110b73d74cbef37a60378941fa4f7318f1f.zip
config: default no direct scanout to true
-rw-r--r--src/config/ConfigManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 2b0e1da0..4d451af5 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -82,7 +82,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["misc:no_direct_scanout"].intValue = 1;
configValues["misc:hide_cursor_on_touch"].intValue = 1;
configValues["misc:mouse_move_focuses_monitor"].intValue = 1;
configValues["misc:suppress_portal_warnings"].intValue = 0;
@@ -636,7 +636,7 @@ void CConfigManager::handleAnimation(const std::string& command, const std::stri
}
PANIM->second.overridden = true;
- PANIM->second.pValues = &PANIM->second;
+ PANIM->second.pValues = &PANIM->second;
// on/off
PANIM->second.internalEnabled = ARGS[1] == "1";