wayland/surface: fix the change signal for release points not being emitted

This commit is contained in:
Xaver Hugl 2024-04-17 03:26:34 +02:00
parent 09b32a1e68
commit eed7943939
2 changed files with 1 additions and 2 deletions

View file

@ -610,7 +610,7 @@ void SurfaceInterfacePrivate::applyState(SurfaceState *next)
const bool visibilityChanged = bufferChanged && bool(current->buffer) != bool(next->buffer);
const bool colorDescriptionChanged = next->colorDescriptionIsSet;
const bool presentationModeHintChanged = next->presentationModeHintIsSet;
const bool bufferReleasePointChanged = next->releasePointIsSet;
const bool bufferReleasePointChanged = next->bufferIsSet && current->releasePoint != next->releasePoint;
const QSizeF oldSurfaceSize = surfaceSize;
const QSize oldBufferSize = bufferSize;

View file

@ -59,7 +59,6 @@ struct SurfaceState
bool contentTypeIsSet = false;
bool presentationModeHintIsSet = false;
bool colorDescriptionIsSet = false;
bool releasePointIsSet = false;
qint32 bufferScale = 1;
OutputTransform bufferTransform = OutputTransform::Normal;
wl_list frameCallbacks;