aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render
diff options
context:
space:
mode:
authorWalt Bringenberg <[email protected]>2024-08-10 13:42:45 -0700
committerGitHub <[email protected]>2024-08-10 21:42:45 +0100
commit01ff5fdf6a00a9231bd3b56400d8bcab378c4257 (patch)
treef33755311a3d9891d19d86446cec707ed10c37db /src/render
parent0bf9ceb53b338c79ab65e631877efcf96f53b49a (diff)
downloadHyprland-01ff5fdf6a00a9231bd3b56400d8bcab378c4257.tar.gz
Hyprland-01ff5fdf6a00a9231bd3b56400d8bcab378c4257.zip
cursor: make inactive_timeout setting a float (#7268)
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 17aed940..a2d5a95e 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -2299,7 +2299,7 @@ void CHyprRenderer::setCursorFromName(const std::string& name, bool force) {
}
void CHyprRenderer::ensureCursorRenderingMode() {
- static auto PCURSORTIMEOUT = CConfigValue<Hyprlang::INT>("cursor:inactive_timeout");
+ static auto PCURSORTIMEOUT = CConfigValue<Hyprlang::FLOAT>("cursor:inactive_timeout");
static auto PHIDEONTOUCH = CConfigValue<Hyprlang::INT>("cursor:hide_on_touch");
static auto PHIDEONKEY = CConfigValue<Hyprlang::INT>("cursor:hide_on_key_press");