Commit 8e89308a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[plugins/windowsystem] Fix compilation with no-deprecated build of KWindowSystem

This change ensures that KWin can be built with a version of KWS that
doesn't have any deprecated stuff. I assume that no distro ships such
builds of KWS and it's only a developer thing.

I didn't backport KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE macro because
the next release of Plasma (5.18) depends on KF 5.66.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 7e298531
......@@ -144,9 +144,11 @@ void WindowEffects::enableBackgroundContrast(WId window, bool enable, qreal cont
void WindowEffects::markAsDashboard(WId window)
......@@ -41,7 +41,9 @@ public:
void highlightWindows(WId controller, const QList<WId> &ids) override;
void enableBlurBehind(WId window, bool enable = true, const QRegion &region = QRegion()) override;
void enableBackgroundContrast(WId window, bool enable = true, qreal contrast = 1, qreal intensity = 1, qreal saturation = 1, const QRegion &region = QRegion()) override;
void markAsDashboard(WId window) override;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment