From a5baf45d69df5970323f3098d9ad51182adfd181 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 26 Apr 2026 23:29:18 +0100 Subject: [PATCH] input: fix device configs for pointer devices --- src/managers/input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index a4df12fe9..f0314e0d7 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -1260,7 +1260,7 @@ void CInputManager::setPointerConfigs() { const auto HASCONFIG = Config::mgr()->deviceConfigExists(devname); if (HASCONFIG) { - const auto ENABLED = Config::mgr()->getDeviceInt(devname, "enabled"); + const auto ENABLED = HASCONFIG && Config::mgr()->deviceConfigExplicitlySet(devname, "enabled") ? Config::mgr()->getDeviceInt(devname, "enabled") : true; if (ENABLED && !m->m_connected) { g_pPointerManager->attachPointer(m); m->m_connected = true;