Follow kwindoweffects::windowSizes deprecation
This commit is contained in:
parent
82723be8db
commit
ab34fa348c
2 changed files with 4 additions and 0 deletions
|
@ -67,11 +67,13 @@ void WindowEffects::slideWindow(WId id, KWindowEffects::SlideFromLocation locati
|
|||
w->setProperty("kwin_slide_offset", offset);
|
||||
}
|
||||
|
||||
#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 81)
|
||||
QList<QSize> WindowEffects::windowSizes(const QList<WId> &ids)
|
||||
{
|
||||
Q_UNUSED(ids)
|
||||
return {};
|
||||
}
|
||||
#endif
|
||||
|
||||
void WindowEffects::presentWindows(WId controller, const QList<WId> &ids)
|
||||
{
|
||||
|
|
|
@ -18,7 +18,9 @@ public:
|
|||
|
||||
bool isEffectAvailable(KWindowEffects::Effect effect) override;
|
||||
void slideWindow(WId id, KWindowEffects::SlideFromLocation location, int offset) override;
|
||||
#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 81)
|
||||
QList<QSize> windowSizes(const QList<WId> &ids) override;
|
||||
#endif
|
||||
void presentWindows(WId controller, const QList<WId> &ids) override;
|
||||
void presentWindows(WId controller, int desktop = NET::OnAllDesktops) override;
|
||||
void highlightWindows(WId controller, const QList<WId> &ids) override;
|
||||
|
|
Loading…
Reference in a new issue