From b0861b6709c1735dc5b4275e5d87b7c83f1ef1f0 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 9 May 2024 22:23:01 +0100 Subject: config: move various cursor-related vars to cursor: --- src/Compositor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Compositor.cpp') 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("general:no_cursor_warps"); + static auto PNOWARPS = CConfigValue("cursor:no_warps"); if (*PNOWARPS && !force) return; -- cgit v1.2.3