[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
Branch
adjust-move-resize-geometry
Lint
Lint ErrorsExcuse: sdfdasfas
SeverityLocationCodeMessage
Errorinput.h:310CppcheckunknownMacro
Errorinput.h:310CppcheckunknownMacro
Unit
No Unit Test Coverage
Build Status
Buildable 21605
Build 21623: arc lint + arc unit
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.