Diffusion KWin 621b2e1cde28

[decoration] Fix propagation of client size

Authored by zzag on May 21 2020, 5:53 AM.

Description

[decoration] Fix propagation of client size

Even though the frame geometry and the client geometry have a connection
between themselves, it doesn't mean that the frame geometry will change
if the client geometry has changed and vice versa. For example, it can be
the case when the border size changes. The frame geometry won't change,
but the client geometry will.

In general, similar to the frameGeometryChanged signal, we need another
signal that is emitted when the client geometry has been changed that
can be used then in DecoratedClientImpl.

Unfortunately, 5.19 release is around the corner and I would prefer not
to do any geometry-related changes in order to avoid introducing new
regressions.

In order to fix the propagation of the client size to decorations, this
change ports DecoratedClientImpl from frameGeometryChanged to a signal
that is emitted whenever geometry of any kind has been changed.

BUG: 419080
FIXED-IN: 5.19.0

Details

Committed
davidedmundsonMay 21 2020, 9:44 AM
Parents
R108:b2df11bf7e59: [platforms/drm] show cursor only when it is enabled
Branches
Unknown
Tags
Unknown