From b40fb76c7199cbb0cd70138972b42f1045c4abed Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 3 Sep 2021 20:56:15 +0300 Subject: [PATCH] platforms/wayland: Prepend KWayland::Client:: to Surface --- src/plugins/platforms/wayland/wayland_backend.cpp | 2 +- src/plugins/platforms/wayland/wayland_output.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/wayland/wayland_backend.cpp b/src/plugins/platforms/wayland/wayland_backend.cpp index 88acc76824..235761f6c7 100644 --- a/src/plugins/platforms/wayland/wayland_backend.cpp +++ b/src/plugins/platforms/wayland/wayland_backend.cpp @@ -120,7 +120,7 @@ void WaylandCursor::drawSurface(wl_buffer *image, const QSize &size, qreal scale m_surface->attachBuffer(image); m_surface->setScale(std::ceil(scale)); m_surface->damageBuffer(QRect(QPoint(0, 0), size)); - m_surface->commit(Surface::CommitFlag::None); + m_surface->commit(KWayland::Client::Surface::CommitFlag::None); m_backend->flush(); } diff --git a/src/plugins/platforms/wayland/wayland_output.cpp b/src/plugins/platforms/wayland/wayland_output.cpp index 9847a618e5..cfb325e244 100644 --- a/src/plugins/platforms/wayland/wayland_output.cpp +++ b/src/plugins/platforms/wayland/wayland_output.cpp @@ -133,7 +133,7 @@ XdgShellOutput::XdgShellOutput(Surface *surface, XdgShell *xdgShell, WaylandBack updateWindowTitle(); }); - surface->commit(Surface::CommitFlag::None); + surface->commit(KWayland::Client::Surface::CommitFlag::None); } XdgShellOutput::~XdgShellOutput()