D26886: [wayland] Keep the opposite corner still when resizing a window
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. zzag requested review of this revision. REVISION 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. REPOSITORY R108 KWin BRANCH adjust-move-resize-geometry REVISION DETAIL https://phabricator.kde.org/D26886 AFFECTED FILES xdgshellclient.cpp xdgshellclient.h To: zzag, #kwin Cc: kwin, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart