Remove QWaylandWindow::handleExpose

It was part of xdg-shell-v6 which has since been removed.

Pick-to: 6.6 6.7
Change-Id: Iecf5166b4c2710b209f7dfa0951958dcf82618f7
Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
Tor Arne Vestbø 2024-01-23 15:24:28 +01:00
parent 424abe6242
commit f616c5beef
2 changed files with 0 additions and 11 deletions

View File

@ -759,16 +759,6 @@ void QWaylandWindow::safeCommit(QWaylandBuffer *buffer, const QRegion &damage)
}
}
void QWaylandWindow::handleExpose(const QRegion &region)
{
QWindowSystemInterface::handleExposeEvent(window(), region);
if (mQueuedBuffer && !region.isEmpty()) {
commit(mQueuedBuffer, mQueuedBufferDamage);
mQueuedBuffer = nullptr;
mQueuedBufferDamage = QRegion();
}
}
void QWaylandWindow::commit(QWaylandBuffer *buffer, const QRegion &damage)
{
Q_ASSERT(isExposed());

View File

@ -113,7 +113,6 @@ public:
void damage(const QRect &rect);
void safeCommit(QWaylandBuffer *buffer, const QRegion &damage);
void handleExpose(const QRegion &region);
void commit(QWaylandBuffer *buffer, const QRegion &damage);
void commit();