Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/wayland/wayland_output.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | |||||
91 | 91 | | |||
92 | private: | 92 | private: | ||
93 | KWayland::Client::Surface *m_surface; | 93 | KWayland::Client::Surface *m_surface; | ||
94 | WaylandBackend *m_backend; | 94 | WaylandBackend *m_backend; | ||
95 | 95 | | |||
96 | bool m_rendered = false; | 96 | bool m_rendered = false; | ||
97 | }; | 97 | }; | ||
98 | 98 | | |||
99 | class ShellOutput : public WaylandOutput | | |||
100 | { | | |||
101 | public: | | |||
102 | ShellOutput(KWayland::Client::Surface *surface, | | |||
103 | KWayland::Client::Shell *shell, | | |||
104 | WaylandBackend *backend); | | |||
105 | ~ShellOutput() override; | | |||
106 | | ||||
107 | private: | | |||
108 | KWayland::Client::ShellSurface *m_shellSurface = nullptr; | | |||
109 | }; | | |||
110 | | ||||
111 | class XdgShellOutput : public WaylandOutput | 99 | class XdgShellOutput : public WaylandOutput | ||
112 | { | 100 | { | ||
113 | public: | 101 | public: | ||
114 | XdgShellOutput(KWayland::Client::Surface *surface, | 102 | XdgShellOutput(KWayland::Client::Surface *surface, | ||
115 | KWayland::Client::XdgShell *xdgShell, | 103 | KWayland::Client::XdgShell *xdgShell, | ||
116 | WaylandBackend *backend, int number); | 104 | WaylandBackend *backend, int number); | ||
117 | ~XdgShellOutput() override; | 105 | ~XdgShellOutput() override; | ||
118 | 106 | | |||
Show All 16 Lines |