wayland/surface: fix the change signal for release points not being emitted
This commit is contained in:
parent
09b32a1e68
commit
eed7943939
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue