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.
icc-effect-5.14.5
Aleix Pol 2018-04-24 16:38:44 +02:00
parent bec8493459
commit 6e84645e35
1 changed files with 1 additions and 0 deletions

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());