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
Plasma Integration
Commits
5957ffcc
Commit
5957ffcc
authored
Apr 27, 2021
by
Vlad Zahorodnii
Browse files
Port away from WId-based KWindowEffects API
parent
60734231
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/platformtheme/kwaylandintegration.cpp
View file @
5957ffcc
...
...
@@ -103,7 +103,7 @@ void KWaylandIntegration::shellSurfaceCreated(QWindow *w)
}
const
auto
blurBehindProperty
=
w
->
property
(
s_blurBehindPropertyName
.
constData
());
if
(
blurBehindProperty
.
isValid
())
{
KWindowEffects
::
enableBlurBehind
(
w
->
winId
()
,
blurBehindProperty
.
toBool
());
KWindowEffects
::
enableBlurBehind
(
w
,
blurBehindProperty
.
toBool
());
}
// create deco
Surface
*
s
=
Surface
::
fromWindow
(
w
);
...
...
src/platformtheme/x11integration.cpp
View file @
5957ffcc
...
...
@@ -88,7 +88,7 @@ bool X11Integration::eventFilter(QObject *watched, QEvent *event)
}
const
auto
blurBehindProperty
=
w
->
property
(
s_blurBehindPropertyName
.
constData
());
if
(
blurBehindProperty
.
isValid
())
{
KWindowEffects
::
enableBlurBehind
(
w
->
winId
()
,
blurBehindProperty
.
toBool
());
KWindowEffects
::
enableBlurBehind
(
w
,
blurBehindProperty
.
toBool
());
}
installDesktopFileName
(
w
);
}
...
...
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