summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2023-09-28 21:48:33 +0100
committerGitHub <noreply@github.com>2023-09-28 21:48:33 +0100
commit88b63a00b68350d6d001445357a2582ab5975f9c (patch)
treea730d59c70e5987eae8006fd5b0eb4ef531113dc /src/debug/HyprCtl.cpp
parent1e513e25d5645260a2ebdfbe8dbf3b8df487339c (diff)
renderer: Tearing implementation (#3441)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 0aafe664..8eced97d 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -1009,6 +1009,8 @@ std::string dispatchSetProp(std::string request) {
PWINDOW->m_sSpecialRenderData.borderSize.forceSetIgnoreLocked(configStringToInt(VAL), lock);
} else if (PROP == "keepaspectratio") {
PWINDOW->m_sAdditionalConfigData.keepAspectRatio.forceSetIgnoreLocked(configStringToInt(VAL), lock);
+ } else if (PROP == "immediate") {
+ PWINDOW->m_sAdditionalConfigData.forceTearing.forceSetIgnoreLocked(configStringToInt(VAL), lock);
} else {
return "prop not found";
}