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
388402c3
Commit
388402c3
authored
Apr 06, 2022
by
Xaver Hugl
Browse files
waylandserver: move LockScreenPresentationWatcher to the correct place
CCBUG: 452334
parent
5390a497
Pipeline
#160507
passed with stage
in 12 minutes and 4 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
src/wayland_server.cpp
View file @
388402c3
...
...
@@ -603,6 +603,8 @@ void WaylandServer::initScreenLocker()
}
ScreenLocker
::
KSldApp
::
self
()
->
setWaylandFd
(
clientFd
);
new
LockScreenPresentationWatcher
(
this
);
const
QVector
<
SeatInterface
*>
seatIfaces
=
m_display
->
seats
();
for
(
auto
*
seat
:
seatIfaces
)
{
connect
(
seat
,
&
KWaylandServer
::
SeatInterface
::
timestampChanged
,
...
...
@@ -619,8 +621,6 @@ void WaylandServer::initScreenLocker()
m_screenLockerClientConnection
=
nullptr
;
}
new
LockScreenPresentationWatcher
(
this
);
const
QVector
<
SeatInterface
*>
seatIfaces
=
m_display
->
seats
();
for
(
auto
*
seat
:
seatIfaces
)
{
disconnect
(
seat
,
&
KWaylandServer
::
SeatInterface
::
timestampChanged
,
...
...
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