cursor: make inactive_timeout setting a float (#7268)

This commit is contained in:
Walt Bringenberg
2024-08-10 13:42:45 -07:00
committed by GitHub
parent 0bf9ceb53b
commit 01ff5fdf6a
2 changed files with 2 additions and 2 deletions

View File

@@ -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");