From 56331942f378b62655b011d7af0339ea10851e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 May 2016 12:17:27 +0200 Subject: [PATCH] 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 --- composite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index 538de69474..c3df6b5c13 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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);