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
28b6db49
Commit
28b6db49
authored
Nov 03, 2020
by
Gang Wu
Committed by
Gang Wu
Nov 03, 2020
Browse files
correct the surface id
parent
1caf9f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
toplevel.cpp
View file @
28b6db49
...
...
@@ -735,8 +735,10 @@ void Toplevel::setSurface(KWaylandServer::SurfaceInterface *surface)
connect
(
m_surface
,
&
SurfaceInterface
::
destroyed
,
this
,
[
this
]
{
m_surface
=
nullptr
;
m_surfaceId
=
0
;
}
);
m_surfaceId
=
surface
->
id
();
emit
surfaceChanged
();
}
...
...
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