Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/wayland/wayland_output.cpp
Show All 33 Lines | |||||
34 | namespace KWin | 34 | namespace KWin | ||
35 | { | 35 | { | ||
36 | namespace Wayland | 36 | namespace Wayland | ||
37 | { | 37 | { | ||
38 | 38 | | |||
39 | using namespace KWayland::Client; | 39 | using namespace KWayland::Client; | ||
40 | 40 | | |||
41 | WaylandOutput::WaylandOutput(Surface *surface, QObject *parent) | 41 | WaylandOutput::WaylandOutput(Surface *surface, QObject *parent) | ||
42 | : AbstractOutput(parent), | 42 | : AbstractWaylandOutput(parent), | ||
43 | m_surface(surface) | 43 | m_surface(surface) | ||
44 | { | 44 | { | ||
45 | connect(surface, &Surface::frameRendered, [this] { | 45 | connect(surface, &Surface::frameRendered, [this] { | ||
46 | m_rendered = true; | 46 | m_rendered = true; | ||
47 | emit frameRendered(); | 47 | emit frameRendered(); | ||
48 | }); | 48 | }); | ||
49 | } | 49 | } | ||
50 | 50 | | |||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |