diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-09 22:23:01 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-09 22:25:20 +0100 |
| commit | b0861b6709c1735dc5b4275e5d87b7c83f1ef1f0 (patch) | |
| tree | a23f2729d8a59994875b7cd9593d2706bf3858a1 /src/render/Renderer.cpp | |
| parent | 7cf810b1813a610e25f169ca9bb2d8ab9b967666 (diff) | |
config: move various cursor-related vars to cursor:
Diffstat (limited to 'src/render/Renderer.cpp')
| -rw-r--r-- | src/render/Renderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 76f761d2..d1baf461 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1092,7 +1092,7 @@ void CHyprRenderer::renderMonitor(CMonitor* pMonitor) { static auto PDAMAGEBLINK = CConfigValue<Hyprlang::INT>("debug:damage_blink"); static auto PNODIRECTSCANOUT = CConfigValue<Hyprlang::INT>("misc:no_direct_scanout"); static auto PVFR = CConfigValue<Hyprlang::INT>("misc:vfr"); - static auto PZOOMFACTOR = CConfigValue<Hyprlang::FLOAT>("misc:cursor_zoom_factor"); + static auto PZOOMFACTOR = CConfigValue<Hyprlang::FLOAT>("cursor:zoom_factor"); static auto PANIMENABLED = CConfigValue<Hyprlang::INT>("animations:enabled"); static auto PFIRSTLAUNCHANIM = CConfigValue<Hyprlang::INT>("animations:first_launch_animation"); static auto PTEARINGENABLED = CConfigValue<Hyprlang::INT>("general:allow_tearing"); @@ -2278,9 +2278,9 @@ void CHyprRenderer::setCursorFromName(const std::string& name, bool force) { } void CHyprRenderer::ensureCursorRenderingMode() { - static auto PCURSORTIMEOUT = CConfigValue<Hyprlang::INT>("general:cursor_inactive_timeout"); - static auto PHIDEONTOUCH = CConfigValue<Hyprlang::INT>("misc:hide_cursor_on_touch"); - static auto PHIDEONKEY = CConfigValue<Hyprlang::INT>("misc:hide_cursor_on_key_press"); + static auto PCURSORTIMEOUT = CConfigValue<Hyprlang::INT>("cursor:inactive_timeout"); + static auto PHIDEONTOUCH = CConfigValue<Hyprlang::INT>("cursor:hide_on_touch"); + static auto PHIDEONKEY = CConfigValue<Hyprlang::INT>("cursor:hide_on_key_press"); if (*PCURSORTIMEOUT <= 0) m_sCursorHiddenConditions.hiddenOnTimeout = false; |
