Diffusion KWin 2132b1e0c829

[effects] Use arg="true" in the kcfg files

Authored by graesslin on Dec 2 2016, 7:27 PM.

Description

[effects] Use arg="true" in the kcfg files

Summary:
By changing all kcfg to have arg="true" we can pass in the same
KSharedConfigPtr into all effects. This allows to have fake config in
the tests and in the planned effect demo mode.

Also it means that we don't have to hardcode the name kwinrc into the
files. In the configs - where we cannot access the effectshandler - we
use the define KWIN_CONFIG which gets generated based on the compile
time arguments.

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D3571

Details

Committed
graesslinApr 15 2017, 8:03 AM
Differential Revision
D3571: [effects] Use arg="true" in the kcfg files
Parents
R108:af9f81700f83: fix uninitialized variable
Branches
Unknown
Tags
Unknown