kcms/effects: Take into account system-wide defaults

It's possible to provide system-wide default values in /etc/xdg/kwinrc

We need to take these into account when writing values and handling the defaults button.

When writing a value that matches the system-wide default, use revertToDefault().

When pressing the defaults button, reset to the system-wide default

Merge request reports

Loading