platforms/wayland: Prepend KWayland::Client:: to Surface

This commit is contained in:
Vlad Zahorodnii 2021-09-03 20:56:15 +03:00
parent 200223e06e
commit b40fb76c71
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}

View file

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