mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-28 02:50:21 -04:00
Set window geometry again when changing anchors
Changing anchors can make a previously send size illegal if a a constrained window becomes unconstrained as 0 size is only allowed in a dimension that has both anchors set.
This commit is contained in:
parent
80c9cc60ea
commit
f931573f34
@ -119,6 +119,7 @@ void QWaylandLayerSurface::applyConfigure()
|
||||
void QWaylandLayerSurface::setAnchor(uint anchor)
|
||||
{
|
||||
set_anchor(anchor);
|
||||
setWindowGeometry(window()->windowContentGeometry());
|
||||
}
|
||||
|
||||
void QWaylandLayerSurface::setExclusiveZone(int32_t zone)
|
||||
|
Loading…
Reference in New Issue
Block a user