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

Authored by zzag on Jan 23 2020, 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.Jan 23 2020, 10:01 PM
Restricted Application added a project: KWin. · View Herald TranscriptJan 23 2020, 10:01 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jan 23 2020, 10:01 PM
davidedmundson accepted this revision.Jan 23 2020, 10:39 PM
This revision is now accepted and ready to land.Jan 23 2020, 10:39 PM
This revision was automatically updated to reflect the committed changes.