D26233: Clamp XdgShellClient::clientSize to surface size, not m_windowGeometry
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added a comment. Urgh, the xdg-shell spec is ambiguous about the effective window geometry. Some compositors clamp the window geometry at commit time, some compositors clamp at query time (like this patch does), and some don't clamp at all. :/ > For example when attached buffer size changes. We can't connect to `SurfaceInterface::sizeChanged` since this signal is emitted only for the main surface if I recall correctly. I guess we could compute the bounding rect in the commit handler. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D26233 To: davidedmundson, #kwin, zzag Cc: romangg, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, ahiemstra, mart