Reparse the input configuration when we are notified that it changed

Otherwise we'd process again the kconfig information in memory and
discard it because it's the same as last time.
This commit is contained in:
Aleix Pol 2018-04-24 16:38:44 +02:00
parent bec8493459
commit 6e84645e35

View file

@ -109,6 +109,7 @@ void Cursor::slotKGlobalSettingsNotifyChange(int type, int arg)
{
Q_UNUSED(arg)
if (type == 5 /*CursorChanged*/) {
kwinApp()->inputConfig()->reparseConfiguration();
loadThemeFromKConfig();
// sync to environment
qputenv("XCURSOR_THEME", m_themeName.toUtf8());