D29263: Position OSD a bit farther down
Noah Davis
noreply at phabricator.kde.org
Tue May 19 19:57:09 BST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200519/867e7a16/attachment.htm>
More information about the kwin
mailing list