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:
parent
bec8493459
commit
6e84645e35
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue