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()