diff --git a/src/tabletmodemanager.cpp b/src/tabletmodemanager.cpp index 6fa204748e..4326b1e540 100644 --- a/src/tabletmodemanager.cpp +++ b/src/tabletmodemanager.cpp @@ -143,12 +143,12 @@ void KWin::TabletModeManager::refreshSettings() if (!m_detecting) { Q_EMIT tabletModeAvailableChanged(true); } - Q_EMIT tabletModeChanged(true); } else if (tabletModeConfig == QStringLiteral("off")) { m_configuredMode = ConfiguredMode::Off; - Q_EMIT tabletModeChanged(false); } else { m_configuredMode = ConfiguredMode::Auto; + } + if (effectiveTabletMode() != oldEffectiveTabletMode) { Q_EMIT tabletModeChanged(effectiveTabletMode()); } }