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
cd043030
Commit
cd043030
authored
Apr 26, 2022
by
Vlad Zahorodnii
Browse files
Fix potential null dereference in LockScreenFilter
input()->findToplevel() may return null.
parent
f9b7d529
Pipeline
#168655
passed with stage
in 12 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/input.cpp
View file @
cd043030
...
...
@@ -351,7 +351,7 @@ public:
}
auto
window
=
input
()
->
findToplevel
(
event
->
globalPos
());
if
(
window
->
isClient
()
&&
window
->
isLockScreen
())
{
if
(
window
&&
window
->
isClient
()
&&
window
->
isLockScreen
())
{
workspace
()
->
activateWindow
(
window
);
}
...
...
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