Skip to content
GitLab
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
7f39bb1b
Verified
Commit
7f39bb1b
authored
Apr 14, 2022
by
Fushan Wen
Browse files
scene: Check `waylandServer()` is nullptr in filterAcceptsWindow
This fixes compositing on X11.
parent
16b7f572
Pipeline
#163949
passed with stage
in 14 minutes and 54 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/scene.cpp
View file @
7f39bb1b
...
...
@@ -883,7 +883,7 @@ ScreenLockerFilter::~ScreenLockerFilter() = default;
bool
ScreenLockerFilter
::
filterAcceptsWindow
(
KWin
::
Toplevel
*
w
)
const
{
return
!
waylandServer
()
->
isScreenLocked
()
||
(
w
->
isLockScreen
()
||
w
->
isInputMethod
());
return
!
waylandServer
()
||
!
waylandServer
()
->
isScreenLocked
()
||
(
w
->
isLockScreen
()
||
w
->
isInputMethod
());
}
}
// namespace
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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