[Differential] [Request, 46 lines] D3282: Disable / Enable Effects for a Panel
mvourlakos (Michail Vourlakos)
noreply at phabricator.kde.org
Sun Nov 6 16:38:57 UTC 2016
mvourlakos created this revision.
mvourlakos added reviewers: Plasma, davidedmundson.
mvourlakos set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.
mvourlakos added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This patch adds a variable called "effects" which can be used through qml in order to enable/disable the KWin effects for a specific panel.
Currently these effects are (Blur and Background Contrast)
TEST PLAN
I tested it in Plasma Desktop by adding in views/Panel.qml the following code,
Binding {
target: panel
property: "effects"
when: containment
value: containment.backgroundHints !== PlasmaCore.Types.NoBackground
}
when a panel has set its backgroundHints to NoBackground then Blur and Background Contrast are disabled for this Panel....
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D3282
AFFECTED FILES
shell/panelview.cpp
shell/panelview.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mvourlakos, #plasma, davidedmundson
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161106/2095d2db/attachment.html>
More information about the Plasma-devel
mailing list