kwin/effects/diminactive/diminactive.kcfg
Martin Gräßlin 2132b1e0c8 [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
2017-04-15 10:03:34 +02:00

24 lines
871 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile arg="true"/>
<group name="Effect-DimInactive">
<entry name="Strength" type="Int">
<default>25</default>
</entry>
<entry name="DimPanels" type="Bool">
<default>false</default>
</entry>
<entry name="DimDesktop" type="Bool">
<default>false</default>
</entry>
<entry name="DimKeepAbove" type="Bool">
<default>false</default>
</entry>
<entry name="DimByGroup" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>