[kwin] Introduce a X-KWin-Internal in kwineffect services

X-KWin-Internal should be used for effects which are either internal
to KWin and are configured at a different location in KWin. Examples
are:
 * CoverSwitch - configured in WindowSwitcher KCM, but not FlipSwitch
   as that one has a non WindowSwitcher mode
 * window geometry - configured in moving

And it should also be used for helper effects to the overall
kde-workspace module. Examples are:
 * Dashboard - required by Plasma
 * KScreen - required for KScreen
 * Screenshot - required by KSnapshot

Why a new category and not the already existing NoShow property?
The idea is to just filter on the effects in the list. Thus it should
be possible to show them. But NoShow is clearly intended to not be
shown at all.

REVIEW: 116754
icc-effect-5.14.5
Martin Gräßlin 2014-03-12 10:16:19 +01:00
parent 2242efeb06
commit aeb90a2411
8 changed files with 10 additions and 0 deletions

View File

@ -151,3 +151,4 @@ X-KDE-Library=kwin4_effect_builtins
X-KDE-Ordering=50
X-KWin-Requires-OpenGL=true
X-KWin-Video-Url=http://files.kde.org/plasma/kwin/effect-videos/cover_switch.mp4
X-KWin-Internal=true

View File

@ -146,3 +146,4 @@ X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-Library=kwin4_effect_builtins
X-KDE-Ordering=85
X-KWin-Internal=true

View File

@ -148,3 +148,4 @@ X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-Ordering=70
X-KDE-Library=kwin4_effect_builtins
X-KWin-Internal=true

View File

@ -94,3 +94,4 @@ X-KDE-Library=kwin4_effect_builtins
X-KDE-Ordering=99
X-KWin-Requires-OpenGL=false
X-KWin-Requires-Shaders=false
X-KWin-Internal=true

View File

@ -103,3 +103,6 @@ Type=Url
[PropertyDef::X-KWin-Exclusive-Category]
Type=QString
[PropertyDef::X-KWin-Internal]
Type=bool

View File

@ -129,3 +129,4 @@ X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-Library=kwin4_effect_builtins
X-KDE-Ordering=50
X-KWin-Internal=true

View File

@ -124,3 +124,4 @@ X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-Library=kwin4_effect_builtins
X-KDE-Ordering=90
X-KWin-Requires-OpenGL=true
X-KWin-Internal=true

View File

@ -131,3 +131,4 @@ X-KDE-PluginInfo-EnabledByDefault=false
X-KDE-Library=kwin4_effect_builtins
# The order in which this effect is loaded. Lower numbers are loaded first.
X-KDE-Ordering=90
X-KWin-Internal=true