mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 09:38:02 +02:00
input: fix device configs for pointer devices
This commit is contained in:
parent
99a6c5f2e2
commit
a5baf45d69
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue