D29263: Position OSD a bit farther down
Noah Davis <[email protected]> Tue, 19 May 2020 18:57:09 +0000
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
ndavis added inline comments. INLINE COMMENTS > placement.cpp:508 > const int x = area.left() + (area.width() - c->width()) / 2; > - const int y = area.top() + 2 * (area.height() - c->height()) / 3; > + const int y = area.top() + 2 * std::round((area.height() - c->height()) * 0.37); > why 0.37? REPOSITORY R108 KWin BRANCH position-osd-a-bit-farther-down (branched from master) REVISION DETAIL https://phabricator.kde.org/D29263 To: ngraham, #kwin, #vdg, broulik, ndavis Cc: ndavis, niccolove, baberts, davidedmundson, filipf, zzag, kori, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart