summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-09 22:23:01 +0100
committerVaxry <vaxry@vaxry.net>2024-05-09 22:25:20 +0100
commitb0861b6709c1735dc5b4275e5d87b7c83f1ef1f0 (patch)
treea23f2729d8a59994875b7cd9593d2706bf3858a1 /src/Compositor.cpp
parent7cf810b1813a610e25f169ca9bb2d8ab9b967666 (diff)
config: move various cursor-related vars to cursor:
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 5de30a74..72502db3 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2394,9 +2394,9 @@ PHLWINDOW CCompositor::getWindowByRegex(const std::string& regexp) {
void CCompositor::warpCursorTo(const Vector2D& pos, bool force) {
// warpCursorTo should only be used for warps that
- // should be disabled with no_cursor_warps
+ // should be disabled with no_warps
- static auto PNOWARPS = CConfigValue<Hyprlang::INT>("general:no_cursor_warps");
+ static auto PNOWARPS = CConfigValue<Hyprlang::INT>("cursor:no_warps");
if (*PNOWARPS && !force)
return;