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:
parent
424abe6242
commit
f616c5beef
@ -759,16 +759,6 @@ void QWaylandWindow::safeCommit(QWaylandBuffer *buffer, const QRegion &damage)
|
||||
}
|
||||
}
|
||||
|
||||
void QWaylandWindow::handleExpose(const QRegion ®ion)
|
||||
{
|
||||
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());
|
||||
|
@ -113,7 +113,6 @@ public:
|
||||
void damage(const QRect &rect);
|
||||
|
||||
void safeCommit(QWaylandBuffer *buffer, const QRegion &damage);
|
||||
void handleExpose(const QRegion ®ion);
|
||||
void commit(QWaylandBuffer *buffer, const QRegion &damage);
|
||||
|
||||
void commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user