From 6e84645e355a2556bebb3bce2d0b75823c402e35 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 24 Apr 2018 16:38:44 +0200 Subject: [PATCH] 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. --- cursor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cursor.cpp b/cursor.cpp index 46d403eab8..3296633b77 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -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());