Update the desired size when the anchors change

When the anchor changes, the desired size should be updated to avoid
the compositor posting a protocol error.

BUG: 484990
This commit is contained in:
Vlad Zahorodnii
2024-04-04 11:53:03 +03:00
parent 127d817aa1
commit 0a31923938
2 changed files with 22 additions and 25 deletions

View File

@ -34,6 +34,7 @@ public:
}
void attachPopup(QtWaylandClient::QWaylandShellSurface *popup) override;
void setDesiredSize(const QSize &size);
void setAnchor(uint32_t anchor);
void setExclusiveZone(int32_t zone);
void setExclusiveEdge(uint32_t edge);