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
af53647c
Commit
af53647c
authored
Mar 16, 2021
by
Usarin Heininga
Browse files
Set stackingOrderUuids as well.
parent
37445d9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland_server.cpp
View file @
af53647c
...
...
@@ -547,13 +547,16 @@ void WaylandServer::initWorkspace()
connect
(
workspace
(),
&
Workspace
::
workspaceInitialized
,
this
,
[
this
]
{
auto
f
=
[
this
]
()
{
QVector
<
quint32
>
ids
;
QVector
<
QString
>
uuids
;
for
(
Toplevel
*
toplevel
:
workspace
()
->
stackingOrder
())
{
auto
*
client
=
qobject_cast
<
AbstractClient
*>
(
toplevel
);
if
(
client
&&
client
->
windowManagementInterface
())
{
ids
<<
client
->
windowManagementInterface
()
->
internalId
();
uuids
<<
client
->
windowManagementInterface
()
->
uuid
();
}
}
m_windowManagement
->
setStackingOrder
(
ids
);
m_windowManagement
->
setStackingOrderUuids
(
uuids
);
};
f
();
connect
(
workspace
(),
&
Workspace
::
stackingOrderChanged
,
this
,
f
);
...
...
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