Bind sending frameRendered to whether we have a Wayland Server not to operation mode
Summary: This ensures that frameRendered is also sent if we start a Wayland Server on X11. Reviewers: #plasma Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1597
This commit is contained in:
parent
a3ca25ecd4
commit
56331942f3
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ void Compositor::performCompositing()
|
|||
m_timeSinceLastVBlank = m_scene->paint(repaints, windows);
|
||||
m_timeSinceStart += m_timeSinceLastVBlank;
|
||||
|
||||
if (kwinApp()->shouldUseWaylandForCompositing()) {
|
||||
if (waylandServer()) {
|
||||
for (Toplevel *win : damaged) {
|
||||
if (auto surface = win->surface()) {
|
||||
surface->frameRendered(m_timeSinceStart);
|
||||
|
|
Loading…
Reference in a new issue