Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
ab34fa34
Commit
ab34fa34
authored
Apr 12, 2021
by
David Edmundson
Committed by
Méven Car
Apr 15, 2021
Browse files
Follow kwindoweffects::windowSizes deprecation
parent
82723be8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/windowsystem/windoweffects.cpp
View file @
ab34fa34
...
...
@@ -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
)
{
...
...
src/plugins/windowsystem/windoweffects.h
View file @
ab34fa34
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment