kwin/effects/diminactive/diminactive.kcfg
Vlad Zagorodniy 597445e2a6 [effects/diminactive] Add option to exclude fullscreen windows from dimming
Summary:
Such an option would be useful for people that are used to watch videos
in the fullscreen mode.

By default, we still dim fullscreen windows because watching videos in
fullscreen mode is not the only one use-case. One could have a text
editor in fullscreen mode on one screen and Konsole on another screen.
In that case, it would be desired to dim the text editor if the latter
is active. Also, because we don't have stats of how the fullscreen mode
is used by KDE Plasma users.

BUG: 399822
FIXED-IN: 5.15.0

Test Plan:
* Unchecked the "Fullscreen windows" checkbox;
* Opened Konsole;
* Opened Firefox in the fullscreen mode;
* Pressed Alt+Tab;
* (Firefox stayed bright)

Reviewers: #kwin, #plasma, davidedmundson

Reviewed By: #kwin, #plasma, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16216
2018-10-15 10:39:02 +03:00

27 lines
973 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>
<entry name="DimFullScreen" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>