diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-26 23:29:18 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2026-04-26 23:29:18 +0100 |
| commit | a5baf45d69df5970323f3098d9ad51182adfd181 (patch) | |
| tree | d2c675a98fd53e0b701889073d53904de232fd3a /src/managers/input/InputManager.cpp | |
| parent | 99a6c5f2e2b31ef73d289e4e27de02faa118a70f (diff) | |
input: fix device configs for pointer devices
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index a4df12fe..f0314e0d 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; |
