D16710: [wayland] Fix window sizing when restoring a window that was initially fullscreen
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added a comment. In D16710#416579 <https://phabricator.kde.org/D16710#416579>, @dos wrote: > Any idea what to use instead of `QPoint(0, 0)` to fix that? (I'm new to this codebase). It's already way better than current behavior, but yeah, won't hurt to make it even better ;) Well, you could get coordinates of the top-left corner of the placement area for the client, though I personally think it would be better to place the client. If I recall correctly, we do something like that on X11 when maximize restore geometry is not valid. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D16710 To: dos, #kwin, davidedmundson Cc: zzag, graesslin, davidedmundson, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart