[wayland] Keep the opposite corner still when resizing a window
ClosedPublic

Authored by zzag on Thu, Jan 23, 10:01 PM.

Details

Summary

According to the xdg-shell spec, configure events carry the maximum
window geometry size. If a client wants to enforce aspect ratio, it
may attach a buffer with smaller size. We need to account for that
when determining frame geometry in the commit handler.

I'm targeting 5.18 branch.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Thu, Jan 23, 10:01 PM
Restricted Application added a project: KWin. · View Herald TranscriptThu, Jan 23, 10:01 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Thu, Jan 23, 10:01 PM
davidedmundson accepted this revision.Thu, Jan 23, 10:39 PM
This revision is now accepted and ready to land.Thu, Jan 23, 10:39 PM
This revision was automatically updated to reflect the committed changes.