summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-24 21:28:55 +0100
committerVaxry <vaxry@vaxry.net>2023-10-24 21:29:03 +0100
commit03771d3aa9d4c0036baf830c3fa385740d43cd60 (patch)
treee6d934a466ac5c21aa4f7ed5bff356ac0fbfd867 /src/debug/HyprCtl.cpp
parent50a80efad5f9293a2c113545848dd32a61797e23 (diff)
windowrules: add nearestneighbor
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 914a02e0..378880b1 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -1073,6 +1073,8 @@ std::string dispatchSetProp(std::string request) {
PWINDOW->m_sAdditionalConfigData.keepAspectRatio.forceSetIgnoreLocked(configStringToInt(VAL), lock);
} else if (PROP == "immediate") {
PWINDOW->m_sAdditionalConfigData.forceTearing.forceSetIgnoreLocked(configStringToInt(VAL), lock);
+ } else if (PROP == "nearestneighbor") {
+ PWINDOW->m_sAdditionalConfigData.nearestNeighbor.forceSetIgnoreLocked(configStringToInt(VAL), lock);
} else {
return "prop not found";
}