This may also fix https://github.com/pop-os/cosmic-comp/issues/468, or that could be a similar issue. That will need more testing. If comic-comp gets the geometry of a window then calls set_geometry, if everything isn't perfectly symmetric that may lead to the sizing shrinking or growing like that.
This seems to fix the issue described in https://github.com/pop-os/cosmic-comp/issues/502 with XWayland dialogs not being allocated enough height.
This may also fix https://github.com/pop-os/cosmic-comp/issues/468, or that could be a similar issue. That will need more testing. If comic-comp gets the
geometry
of a window then callsset_geometry
, if everything isn't perfectly symmetric that may lead to the sizing shrinking or growing like that.